A simple, browser based, GUI (Graphical User Interface) to run test cases written in [Gherkin](<https://github.com/cucumber/cucumber/wiki/Gherkin>) to be run with [Nightwatch.js](<http://nightwatchjs.org/>) thanks to [nightwatch-cucumber](<https://github.
npm install nightwatch-gui
npm install -g nightwatch-gui
``
or as a dependecy of your project:
``
npm install --save-dev nightwatch-gui
``
Then in the main folder of your nightwatch-cucumber project run:
``
nightwatch-gui
``
The module assumes the standard nightwatch-cucumber foldering, where the main project folder contains both the ``nightwatch.conf.js`` file and the features folder containing the test cases written in Gherkin.
If your setup is different, you can customise all the paths in the config key in the package.json file:
``
"config": {
"featuresParentFolder": "", //default current folder
"featuresFolderName": "", //features 'features'
"nightwatchConfigJsFolder": "", //default current folder
"excludeFolders": "['step_definitions']",
}
``
or, if you don't want to mess up with the package.json file (for instance because you have installed the module globally), or if you want to manage these settings on a per project basis you can create the file nightwatch-gui-config.json with the same content of the config key seen above:
``
{
"featuresParentFolder": "", //default current folder
"featuresFolderName": "", //features 'features'
"nightwatchConfigJsFolder": "", //default current folder
"excludeFolders": "['step_definitions']"
}
```