GithubHelp home page GithubHelp logo

teng2015 / nightwatch Goto Github PK

View Code? Open in Web Editor NEW

This project forked from nightwatchjs/nightwatch

0.0 1.0 0.0 45.38 MB

Automated testing and continous integration framework based on node.js and selenium webdriver

Home Page: http://nightwatchjs.org

License: MIT License

JavaScript 99.79% HTML 0.21%

nightwatch's Introduction

Nightwatch

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

Build Status NPM version Coverage Status


Homepage | Getting Started | Developer Guide | API Reference | Changelog

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-3.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 https://github.com/nightwatchjs/nightwatch.git
$ cd nightwatch
$ npm install

Run tests

The tests for Nightwatch are written using Mocha exports interface so 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

To check test coverage, run the command:

$ npm run mocha-coverage

and then open the generate file coverage.html in your browser.

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

Specific WebDriver setup guides can be found on the Docs website. Legacy Selenium drivers setup guides along with debugging instructions can be found on the Wiki.

nightwatch's People

Contributors

acroix avatar alphagit avatar beatfactor avatar benkeen avatar candrews avatar chris-serafin avatar davidlinse avatar ddavison avatar disciplezero avatar edwardwang1105 avatar elfsternberg avatar ellenmobify avatar haggyj avatar iabw avatar ianwsperber avatar jgable avatar joel-airspring avatar klauspaiva avatar lacymorrow avatar mildmojo avatar morphar avatar nicopennec avatar peteward44 avatar plusgut avatar rightsaidjames avatar senocular avatar sethmcl avatar shane-reaume avatar soundstep avatar yyx990803 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.