0.0.21 • Published 7 years ago

livetest v0.0.21

Weekly downloads
4
License
MIT
Repository
github
Last release
7 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

7 years ago

0.0.20

9 years ago

0.0.19

9 years ago

0.0.18

9 years ago

0.0.17

10 years ago

0.0.16

10 years ago

0.0.15

10 years ago

0.0.14

10 years ago

0.0.13

10 years ago

0.0.12

10 years ago

0.0.11

10 years ago

0.0.10

10 years ago

0.0.9

10 years ago

0.0.7

10 years ago

0.0.6

10 years ago

0.0.5

10 years ago

0.0.4

10 years ago

0.0.3

10 years ago

0.0.2

10 years ago

0.0.1

10 years ago