/gulp-jasmine

Run Jasmine tests

Primary LanguageJavaScriptMIT LicenseMIT

gulp-jasmine Build Status

Run Jasmine tests with minijasminenode (Jasmine 2.0)

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

Install

$ npm install --save-dev gulp-jasmine

Usage

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

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

API

jasmine(options)

options

reporter

Type: object, array of objects

Reporters 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