livetest
v0.0.21
Published
mocha live testing with nwjs
Maintainers
Readme
run mocha tests in nwjs window
current version installs nwjs 0.32.4 sdk
Install
npm i livetest --save-devUsage
$ node livetest --config=./test/config.json
$ node node_modules/.bin/livetestIf you want to run multiple instances, add the --user-data-dir option to start nw with different profiles:
$ node livetest --user-data-dir=first-profile &
$ node livetest --user-data-dir=second-profileTest
$ npm testHelp
$ livetest -h
Usage: livetest [options]
Run livetests in a directory
Options:
-h, --help output usage information
-V, --version output the version number
-c, --config <testdir> test config filename, default: ./test/config.json
Examples:
$ livetest
$ livetest --config=./test/config.json
Config file
{
"files": [
"test/test1Spec.js",
"./test/**/*Spec.js"
]
}License
MIT © kruemelo
