gulp-dalek
Run Mocha tests
Last updated 6 years ago by mattcreager .
BSD-2-Clause · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install gulp-dalek 
SYNC missed versions from official npm registry.

gulp-dalek

Issues with the output should be reported on the Dalek issue tracker.

Install

$ npm install --save-dev gulp-dalek

Usage

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

gulp.task('test', function() {
  return gulp.src(['test/functional/base.js'])
    .pipe(dalek({
      browser: ['phantomjs', 'chrome', 'chrome:canary'],
      reporter: ['html', 'junit']
    });
});

API

dalek(options)

Advanced options must be specified in your Dalekfile.

options

Options are applied to the correct files.

browser

Type: array Default: null

The browsers you would like to test.

With the exception of PhantomJS, you need to have the Dalek browser plugin installed.

reporter

Type: array Default: null

The reporters you would like to invoke

With the exception of console output, you need to have the Dalek reporter plugin installed.

License

© 2014 GoInstant Inc., a salesforce.com company. Licensed under the BSD 3-clause license.

GoInstant

Current Tags

  • 0.0.1                                ...           latest (6 years ago)

2 Versions

  • 0.0.1                                ...           6 years ago
  • 0.0.0                                ...           6 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (4)
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |