https://github.com/electron-utils/electron-tap
Run Tap tests in Electron
https://github.com/electron-utils/electron-tap
electron tap
Last synced: 2 months ago
JSON representation
Run Tap tests in Electron
- Host: GitHub
- URL: https://github.com/electron-utils/electron-tap
- Owner: electron-utils
- License: mit
- Created: 2017-02-06T03:17:36.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-06-02T02:12:04.000Z (almost 8 years ago)
- Last Synced: 2025-02-17T13:53:20.626Z (3 months ago)
- Topics: electron, tap
- Language: JavaScript
- Size: 39.1 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# electron-node-tap
[](https://travis-ci.org/electron-utils/electron-tap)
[](https://ci.appveyor.com/project/jwu/electron-tap)
[](https://david-dm.org/electron-utils/electron-tap)
[](https://david-dm.org/electron-utils/electron-tap#info=devDependencies)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.
1. You can now easily test your Electron apps!## Install
```bash
npm install -g electron-node-tap
```## Run Examples:
```bash
npm start example
```## Usage
```bash
electron-node-tap [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:
```bash
electron-node-tap ./tests
```This runs the tests in the main process.
If you run:
```bash
electron-node-tap --renderer ./tests
```This runs the tests in the renderer process.
## API Reference
TODO
## License
MIT © 2017 Johnny Wu