A fork from tatsuyafw/gulp-nightwatch
Usage
First, install gulp-ngwt
as a development dependency:
npm install --save-dev gulp-ngwt
Then, write your gulpfile.js as below.
var gulp = nightwatch = ; gulp;
You can pass command line options to Nightwatch as an array by using the option cliArgs
.
gulp;
You may use an object instead, if you prefer.
gulp;
You can abort Gulp execution when tests fail.
gulp;
API
nightwatch(options)
options
configFile
Type: String
Default: nightwatch.json
The path to your Nightwatch config
cliArgs
Type: Array
or Object
Default: null
abortOnFailure
Type: Bool
Default: False
Command line options for Nightwatch