Skip to content

Latest commit

 

History

History
22 lines (16 loc) · 352 Bytes

README.md

File metadata and controls

22 lines (16 loc) · 352 Bytes

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'
			}
		}));
});