juniorschmitz / nightwatch-js-with-cucumber

An example on how to implement NightwatchJS projects using Cucumber.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

nightwatch-cucumber-training

Project created for testing the pages of the Hackaton of applitools just for training the Nightwatch-js with Cucumber-js.

The project shows the power of the Nightwatch framework along with the great features of CucumberJS as a test runner and powerful specification using Gherkin syntax.

For installing the dependencies, after cloning:

npm install

For running on Windows:

set ENV=APPOK & npm test = RUN OK ON WINDOWS
set ENV=APPNOK & npm test = RUN NOK ON WINDOWS

For running on Linux:

export ENV=APPOK && npm test = RUN OK ON LINUX
export ENV=APPNOK && npm test = RUN NOK ON LINUX

About

An example on how to implement NightwatchJS projects using Cucumber.


Languages

Language:JavaScript 80.9%Language:Gherkin 19.1%