0.0.21 • Published 6 years ago

livetest v0.0.21

Weekly downloads
4
License
MIT
Repository
github
Last release
6 years ago

run mocha tests in nwjs window

current version installs nwjs 0.32.4 sdk

Install

npm i livetest --save-dev

Usage

$ node livetest --config=./test/config.json
$ node node_modules/.bin/livetest

If 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-profile

Test

$ npm test

Help

$ 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

0.0.21

6 years ago

0.0.20

8 years ago

0.0.19

8 years ago

0.0.18

8 years ago

0.0.17

8 years ago

0.0.16

8 years ago

0.0.15

8 years ago

0.0.14

8 years ago

0.0.13

8 years ago

0.0.12

8 years ago

0.0.11

8 years ago

0.0.10

8 years ago

0.0.9

8 years ago

0.0.7

8 years ago

0.0.6

8 years ago

0.0.5

8 years ago

0.0.4

8 years ago

0.0.3

8 years ago

0.0.2

8 years ago

0.0.1

8 years ago