1.1.4 • Published 7 years ago

electron-node-tap v1.1.4

Weekly downloads
1
License
MIT
Repository
github
Last release
7 years ago

electron-node-tap

Linux Build Status Windows Build status Dependency Status devDependency Status

Tap testing in Electron. This project has two main value propositions:

  1. You can now easily test any JavaScript app in a real browser (Chromium) without hassling with PhantomJS or Webdriver.
  2. You can now easily test your Electron apps!

Install

npm install -g electron-node-tap

Run Examples:

npm start example

Usage

electron-node-tap <path> [options]

Options:
  --help      Show help                                                [boolean]
  --version   Show version number                                      [boolean]
  --renderer  Run tests in renderer.                                   [boolean]
  --detail    Run test in debug mode (It will not quit the test, and open the
              devtools to help you debug it).         [boolean] [default: false]
  --reporter  Test reporter, default is 'dot'          [string] [default: "dot"]

If you run:

electron-node-tap ./tests

This runs the tests in the main process.

If you run:

electron-node-tap --renderer ./tests

This runs the tests in the renderer process.

API Reference

TODO

License

MIT © 2017 Johnny Wu

1.1.4

7 years ago

1.1.3

7 years ago

1.1.2

7 years ago

1.1.1

7 years ago

1.1.0

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago