/gulp-jasmine

Run Jasmine tests

Primary LanguageJavaScript

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

$ 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

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