gulp-nodeunit-runner

A nodeunit test runner plugin for Gulp

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
gulp-nodeunit-runner
0.2.29 years ago10 years agoMinified + gzip package size for gulp-nodeunit-runner in KB

Readme

gulp-nodeunit-runner
!NPM versionnpm-imagenpm-url !Dependency Statusdepstat-imagedepstat-url !Build Statustravis-imagetravis-url
nodeunit-runner plugin for gulp

Usage

First, install gulp-nodeunit-runner as a development dependency:
npm install --save-dev gulp-nodeunit-runner

Then, add it to your gulpfile.js:
var nodeunit-runner = require("gulp-nodeunit-runner");

gulp.src("./src/*.ext")
	.pipe(nodeunit-runner());

API

nodeunit-runner(options)

options.reporter

Type: String
Default: default
The nodeunit reporter to use. See nodeunit documentation for a complete list.

options.reporterOptions

Type: Object
Default: reporter defaults
Nodeunit provides a set of callbacks that will be executed during test execution. These are used by the reporter but can be overridden using this option. See nodeunit documentation for a complete list.

License

MIT License