Skip to content

UI automated testing framework based on node.js and selenium webdriver

License

Notifications You must be signed in to change notification settings

davidlinse/nightwatch

 
 

Repository files navigation

Nightwatch

UI automated testing framework powered by Node.js. It uses the Selenium WebDriver API.

Build Status NPM version Coverage Status


Selenium WebDriver standalone server

Nightwatch works with the Selenium standalone server so the first thing you need to do is download the selenium server jar file selenium-server-standalone-2.x.x.jar from the Selenium releases page: https://selenium-release.storage.googleapis.com/index.html

Install Nightwatch

Install Node.js and then:

$ git clone [email protected]:nightwatchjs/nightwatch.git
$ cd nightwatch
$ npm install

Run tests

The tests for Nightwatch are written using Mocha exports interface but they can also be run with Nightwatch itself.

To run the unit tests using mocha, do:

$ npm test

To run the unit tests using Nightwatch, do:

$ npm run unit-tests

Discuss

The Mailing List/Google Group is the most appropriate tool for Nightwatch related discussions. In addition, there is a StackOverflow Nightwatch.js tag at your disposal and Twitter.

Setup Guides

Browser specific setup and usage guides along with debugging instructions can be found on the Wiki.

About

UI automated testing framework based on node.js and selenium webdriver

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 99.8%
  • HTML 0.2%