https://github.com/mdb/nw-app-testing
A reference implementation demonstrating how to write automated tests against an NW.js application
https://github.com/mdb/nw-app-testing
Last synced: 3 days ago
JSON representation
A reference implementation demonstrating how to write automated tests against an NW.js application
- Host: GitHub
- URL: https://github.com/mdb/nw-app-testing
- Owner: mdb
- Created: 2015-05-22T03:04:14.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2016-08-02T12:02:04.000Z (almost 10 years ago)
- Last Synced: 2025-01-14T16:36:32.223Z (over 1 year ago)
- Language: JavaScript
- Size: 9.77 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[](https://travis-ci.org/mdb/nw-app-testing)
# nw-app-testing
A very basic NW.js application and corresponding tests.
Somewhat based on [https://github.com/nadavsinai/node-wekbit-testing](node-wekbit-testing).
## Technologies
* NW.js
* Gulp
* Karma
* Jasmine
* Protractor
## Setup
1. Install [Node.js](https://nodejs.org).
2. Install the NW.js [chromedriver](http://dl.nwjs.io/); put its executable in `/usr/local/bin/`
3. `npm install -g gulp` to install [gulp](http://gulpjs.com/) globally
3. `npm install` to install nw-app-testing dependencies
## Run the application
`gulp run`
## Run the tests
Unit tests:
`gulp test`
End-to-end functional tests:
`gulp e2e`