gulp-jasmine-webdriverio
v0.3.2
Published
gulp-jasmine-webdriver is a Gulp plugin to run Selenium tests with Jasmine and WebdriverIO
Downloads
3
Maintainers
Readme
gulp-jasmine-webdriverio
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