electron-node-tap
v1.1.4
Published
Run node-tap in Electron.
Downloads
14
Readme
electron-node-tap
Tap testing in Electron. This project has two main value propositions:
- You can now easily test any JavaScript app in a real browser (Chromium) without hassling with PhantomJS or Webdriver.
- 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