docparse-scraper-nst
Version:
Node Zombie based scraper to scrape bills from the NStar (supplier code "NST)" website
32 lines (25 loc) • 1.42 kB
Plain Text
test:
node_modules/.bin/mocha $(shell find test -name "*test.js") --test --reporter spec
scrape-for-login:
node_modules/.bin/mocha $(shell find test -name "scrape-for-login-test.js") --test --reporter spec
setup:
node_modules/.bin/mocha $(shell find test -name "setup-test.js") --test --reporter spec
process-all-logins:
node_modules/.bin/mocha $(shell find test -name "process-all-logins-test.js") --test --reporter spec
scrape-all-accounts:
node_modules/.bin/mocha $(shell find test -name "scrape-all-accounts-test.js") --test --reporter spec
scrape-single-account:
node_modules/.bin/mocha $(shell find test -name "scrape-single-account-test.js") --test --reporter spec
get-data-on-account-homepage:
node_modules/.bin/mocha $(shell find test -name "get-data-on-account-homepage-test.js") --test --reporter spec
get-bill-dates:
node_modules/.bin/mocha $(shell find test -name "get-bill-dates-test.js") --test --reporter spec
process-all-bills:
node_modules/.bin/mocha $(shell find test -name "process-all-bills-test.js") --test --reporter spec
process-single-bill:
node_modules/.bin/mocha $(shell find test -name "process-single-bill-test.js") --test --reporter spec
select-bill:
node_modules/.bin/mocha $(shell find test -name "select-bill-test.js") --test --reporter spec
download-bill:
node_modules/.bin/mocha $(shell find test -name "download-bill-test.js") --test --reporter spec