nodeunit-runner plugin for gulp
First, install gulp-nodeunit-runner
as a development dependency:
npm install --save-dev gulp-nodeunit-runner
Then, add it to your gulpfile.js
:
var nodeunitRunner = require("gulp-nodeunit-runner");
gulp.src("./src/*.ext")
.pipe(nodeunitRunner());
Type: String
Default: default
The nodeunit reporter to use. See nodeunit documentation for a complete list.
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.