hess-select-profile
Version:
Select a given profile value on the hess energy website https://hessenergy.com
15 lines (14 loc) • 661 B
Plain Text
MOCHA=node_modules/.bin/mocha
REPORTER?=tap
config?=test/config.json
test: unit integration
unit:
$(MOCHA) $(shell find test/* -prune -name "*-test.js") --config=$(config) --reporter $(REPORTER)
wiring:
$(MOCHA) test/wiring-test.js --reporter $(REPORTER)
get-profile-value-on-page:
$(MOCHA) test/get-profile-value-on-page-test.js --reporter $(REPORTER)
integration:
$(MOCHA) $(shell find test/integration/* -prune -name "*-test.js") --username=$(username) --password=$(password) --config=$(config) --reporter $(REPORTER)
select-profile:
$(MOCHA) test/integration/select-profile-test.js --username=$(username) --password=$(password) --reporter $(REPORTER)