Simple gulp hook for nodeunit
JavaScript
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
README.md
index.js
package.json

README.md

gulp-nodeunit

Run nodeunit tests from gulp

Install

npm install --save-dev gulp-nodeunit

Example

var gulp     = require('gulp'),
	nodeunit = require('gulp-nodeunit');

gulp.task('default', function () {
	gulp.src('**/*.test.js')
		.pipe(nodeunit({
			reporter: 'junit',
			reporterOptions: {
				output: 'test'
			}
		}));
});