gulp-jasmine-webdriverio

0.3.2 • Public • Published

gulp-jasmine-webdriverio

Build Status License Code Climate Test Coverage

gulp-jasmine-webdriver is a Gulp plugin to run Selenium tests with Jasmine and WebdriverIO Much of the source code drived from the excellant gulp-webdriver by christian-bromann, only difference is jasmine as the test framework as opposed to Mocha by the later.

The orignal intention is to search for the best gulp task which supports Webdrvercss based css regression testing. The gulp-webdriver is based on Mocha test framework while our expertise based on jasmine. So, I've adopted the source code to work with jasmine test framework.

Install

$ npm install --save-dev gulp-jasmine-webdriverio

Usage

var gulp = require('gulp');
var jasmineWebdriverio = require('gulp-jasmine-webdriverio');

gulp.task('default', function () {
    return gulp.src('src/file.ext')
        .pipe(jasmineWebdriverio())
        .pipe(gulp.dest('dist'));
});
var gulp = require('gulp');
var jasmineWebdriverio = require('gulp-jasmine-webdriverio');

gulp.task('default', function () {
    return gulp.src('src/file.ext')
        .pipe(jasmineWebdriverio({
            configFile: './wdio.conf.js',
            args: {
                logLevel: 'log'
                ,ngRoot: 'html' // main application selector
            }
        }))
        .pipe(gulp.dest('dist'));
});

License

MIT © Senthanal Sirpi Manohar

Package Sidebar

Install

npm i gulp-jasmine-webdriverio

Weekly Downloads

1

Version

0.3.2

License

MIT

Last publish

Collaborators

  • senthanal