docparse-supplier-nge
Version:
process ngrid electric utility bill data for use in the docparse system
81 lines (61 loc) • 3.01 kB
Plain Text
MOCHA=node_modules/.bin/mocha
REPORTER=spec
test:
$(MOCHA) $(shell find test -name "test.js") --test --reporter $(REPORTER)
create-bill:
$(MOCHA) $(shell find test -name "create-bill-test.js") --test --reporter $(REPORTER)
create-invoices:
$(MOCHA) $(shell find test -name "create-invoices-test.js") --test --reporter $(REPORTER)
save-data:
$(MOCHA) $(shell find test -name "save-data-test.js") --test --reporter $(REPORTER)
check-scraper-data:
$(MOCHA) $(shell find test -name "check-scraper-data-test.js") --test --reporter $(REPORTER)
get-data:
$(MOCHA) $(shell find test -name "get-data-test.js") --test --reporter $(REPORTER)
get-utility-data:
$(MOCHA) $(shell find test -name "get-utility-data-test.js") --test --reporter $(REPORTER)
get-supply-text:
$(MOCHA) $(shell find test -name "get-supply-text-test.js") --test --reporter $(REPORTER)
get-supply-data:
$(MOCHA) $(shell find test -name "get-supply-data-test.js") --test --reporter $(REPORTER)
calculate-to-pay:
$(MOCHA) $(shell find test -name "calculate-to-pay-test.js") --test --reporter $(REPORTER)
parse:
$(MOCHA) $(shell find test -name "bill-text-parse-test.js") --test --reporter $(REPORTER)
parse-supply:
$(MOCHA) $(shell find test -name "parse-supply-test.js") --test --reporter $(REPORTER)
get-cost-other:
$(MOCHA) $(shell find test -name "get-cost-other-test.js") --test --reporter $(REPORTER)
cost-delivery:
$(MOCHA) $(shell find test -name "cost-delivery-test.js") --test --reporter $(REPORTER)
get-use:
$(MOCHA) $(shell find test -name "get-use-test.js") --test --reporter $(REPORTER)
## Upload parsing tests
perform-parse:
$(MOCHA) $(shell find test -name "perform-parse-test.js") --test --reporter $(REPORTER)
get-account-numbers:
$(MOCHA) $(shell find test -name "get-account-numbers-test.js") --test --reporter $(REPORTER)
process-all-pages:
$(MOCHA) $(shell find test -name "process-all-pages-test.js") --test --reporter $(REPORTER)
process-page:
$(MOCHA) $(shell find test -name "process-page-test.js") --test --reporter $(REPORTER)
handle-error:
$(MOCHA) $(shell find test -name "handle-error-test.js") --test --reporter $(REPORTER)
comp-supply:
$(MOCHA) $(shell find test -name "comp-supply-test.js") --test --reporter $(REPORTER)
comp-supply-2:
$(MOCHA) $(shell find test -name "comp-supply-2-test.js") --test --reporter $(REPORTER)
comp-supply-3:
$(MOCHA) $(shell find test -name "comp-supply-3-test.js") --test --reporter $(REPORTER)
comp-supply-4:
$(MOCHA) $(shell find test -name "comp-supply-4-test.js") --test --reporter $(REPORTER)
comp-supply-5:
$(MOCHA) $(shell find test -name "comp-supply-5-test.js") --test --reporter $(REPORTER)
delivery-2:
$(MOCHA) $(shell find test -name "delivery-2-test.js") --test --reporter $(REPORTER)
std-supply-2:
$(MOCHA) $(shell find test -name "std-supply-2-test.js") --test --reporter $(REPORTER)
final-service-1:
$(MOCHA) $(shell find test -name "final-service-1-test.js") --test --reporter $(REPORTER)
## Integration