jest-runner-nightwatch
Run your nightwatch tests using jest as a runner.
Last updated 2 years ago by zastavnitskiy .
MIT · Repository · Original npm · Tarball · package.json
$ cnpm install jest-runner-nightwatch 
SYNC missed versions from official npm registry.

jest-runner-nightwatch Build Status

Run your nightwatch tests using jest as a runner.

Usage

Add jest configuration and move command line parameters that you used for nightwatch into jest-runner-nightwatch configuration in your package.json or config files.

So, if use were runnig nightwatch like this $ nightwatch --env default -c ./nightwatch.conf.js, the config will be:

{
 "jest": {
    "runner": "jest-runner-nightwatch"
 }, 
 "jest-runner-nightwatch": {
    "cliOptions": {
      "config": "./nightwatch.conf.js",
      "env": "default"
    }
  }
}

The project uses cosmiconfig, so you can also put settings into .config.js or .rc file.

Now, instead of running nightwatch, you can run jest.

Current Tags

  • 0.3.2                                ...           latest (2 years ago)

7 Versions

  • 0.3.2                                ...           2 years ago
  • 0.3.1                                ...           2 years ago
  • 0.3.0                                ...           2 years ago
  • 0.2.0                                ...           2 years ago
  • 0.1.0                                ...           2 years ago
  • 0.0.2                                ...           2 years ago
  • 0.0.1                                ...           2 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 1
Last Day 0
Last Week 1
Last Month 4
Dependencies (4)
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2017 © taobao.org |