testenv
v0.2.18
Published
A handy test environment that uses Karma/Webdriver/Mocha test runners for your client/server side unit/integration test and end-to-end test with light configuration and simple command lines.
Downloads
51
Readme
testenv
Install
npm i -D testenv
testenv init
Create Default Test Config File (Karma|Webdriver|Mocha)
testenv touch [<new-config-file-location>] [-k|-w|-m]
More about Webdriver Config File
Run Custom Test Config File
testenv run [<config-file>]
Run Preset Test Config File
testenv run -c
to run client side testings.
testenv run -s
to run server side testings.
testenv run -e
to run end-to-end testings.
testenv run -a
to run all testings.
testenv run -u
to run unit testings.
testenv run -i
to run integration testings.
You could combine options [-u|-i] with options [-c|-s]. For example: to run client side unit testing.
Use testenv run -cu