Sample project using nightwatch and grunt to run end-to-end tests.
More info at: http://blog.koalite.com/2014/11/test-de-extremo-a-extremo-con-nightwatch-y-grunt/
- Clone the repo
- Install grunt-cli globally:
npm install -g grunt-cli
- Install local dependencies:
npm install
- Run the tests once using chrome:
grunt
- ... or run the tests in background each time a file changes using phantomjs:
grunt dev