2.2.1 • Published 7 years ago

gulp-chimp v2.2.1

Weekly downloads
5
License
MIT
Repository
github
Last release
7 years ago

gulp-chimp

Chimp.js makes it easy for developers to write automated/e2e tests for web applications with a technology stack for Selenium, WebDriverIO, Saucelabs, Mocha and Cucumber.

gulp-chimp is a wrapper to interact with Chimp.js in a gulp task.

npm version Build Status

Quick Install

In the terminal run the following command

npm install gulp-chimp --save-dev

Usage with chimp.conf.js file chimp.conf.js

var chimp = require('gulp-chimp');

/* Chimp.js - Automated/e2e Testing with a config file */
gulp.task('chimp', function () {
    return chimp('chimp.conf.js');
});

Cucumber HTML Report

alt tag

Usage with chimp.js options

gulp.task('chimp-options', () => {
    return chimp({
        features: './source/e2e/features', // Cucumber features files
        browser: 'phantomjs',
        singleRun: true,
        debug: false,
        output: {
            screenshotsPath: './e2e_output/screenshots',
            jsonOutput: './e2e_output/cucumber.json'
        },
        htmlReport: {
            enable: true,
            jsonFile: './e2e_output/cucumber.json',
            output: './e2e_output/report/cucumber.html',
            reportSuiteAsScenarios: true,
            launchReport: true
        }
    });
});
features

Type: string Default: ./source/e2e/features

browser

Type: string Default phantomjs

singleRun

Type: boolean Default true

debug

Type: boolean Default false

output

Type: object Default

output: {
    screenshotsPath: './e2e_output/screenshots',
    jsonOutput: './e2e_output/cucumber.json'
}
htmlReport

Type: object Default

htmlReport: {
    enable: true,
    jsonFile: './e2e_output/cucumber.json',
    output: './e2e_output/report/cucumber.html',
    reportSuiteAsScenarios: true,
    launchReport: true
}
2.2.1

7 years ago

2.2.0

7 years ago

2.1.0

8 years ago

2.0.1

8 years ago

2.0.0

8 years ago

1.7.1

8 years ago

1.7.0

8 years ago

1.6.0

8 years ago

1.5.5

8 years ago

1.5.4

8 years ago

1.5.3

8 years ago

1.5.2

8 years ago

1.5.1

8 years ago

1.5.0

8 years ago

1.1.1

8 years ago

1.1.0

8 years ago

1.0.9

8 years ago

1.0.8

8 years ago

1.0.7

8 years ago

1.0.6

8 years ago

1.0.5

8 years ago

1.0.4

8 years ago

1.0.3

8 years ago

1.0.2

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago