Nonstop Progressive Marxism

    This package has been deprecated

    Author message:

    Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

    gulp-nightwatch-headless

    1.0.5 • Public • Published

    Deprecated

    This project is no longer maintained

    Karma is a much sleeker alternative to this now, this project won't be updated

    gulp-nightwatch-headless

    An almost-zero configuration Gulp plugin to run Selenium, PhantomJS, Nightwatch and a HTTP server together in one process.

    npm install gulp-nightwatch-headless --save-dev
    

    For anyone who wants to run Selenium, PhantomJS and a HTTP server for tests without the hassle of setting up a dedicated server for them.

    Plugin accepts a config object. All options have defaults, all ports that the processes run on will be selected randomly (assuming it's open) but can be overriden with the 'port' option.

    Example usage

    var nightwatchHeadless = require( 'gulp-nightwatch-headless' );
    
    gulp.task( 'automated-tests', function() {
        return gulp.src('')
            .pipe(nightwatchHeadless({
                nightwatch: {
                    tempDir: 'temp',
                    config: 'nightwatch.json'
                },
                selenium: {
                //	disable: true
                },
                httpserver: {
                    port: 2043,
                    path: 'output'
                },
                verbose: true
            }))
            .on('error', gutil.log);
    } );
    
    

    Install

    npm i gulp-nightwatch-headless

    DownloadsWeekly Downloads

    3

    Version

    1.0.5

    License

    none

    Unpacked Size

    11.9 kB

    Total Files

    4

    Last publish

    Collaborators

    • peteward44