gulp-jasmine

Run Jasmine tests

npm install gulp-jasmine
25 downloads in the last day
182 downloads in the last week
717 downloads in the last month

gulp-jasmine Build Status

Run Jasmine tests with minijasminenode (Jasmine 1.3)

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

Install

Install with npm

npm install --save-dev gulp-jasmine

Example

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

gulp.task('default', function () {
    gulp.src('spec/test.js')
        .pipe(jasmine());
});

API

jasmine(options)

options

reporter

Type: Object, Array of Objects

Reporter(s) to use.

verbose

Type: Boolean
Default: false

Display spec names.

includeStackTrace

Type: Boolean
Default: false

Include stack traces in failures.

timeout

Type: Number
Default 5000

Time to wait in milliseconds before a test automatically fails.

License

MIT © Sindre Sorhus

npm loves you