A very basic NW.js application and corresponding tests.
Somewhat based on https://github.com/nadavsinai/node-wekbit-testing.
- NW.js
- Gulp
- Karma
- Jasmine
- Protractor
- Install Node.js.
- Install the NW.js chromedriver; put its executable in
/usr/local/bin/
npm install -g gulp
to install gulp globallynpm install
to install nw-app-testing dependencies
gulp run
Unit tests:
gulp test
End-to-end functional tests:
gulp e2e