Run nodeunit tests from gulp
npm install --save-dev gulp-nodeunit
var gulp = require('gulp'),
nodeunit = require('gulp-nodeunit');
gulp.task('default', function () {
gulp.src('**/*.test.js')
.pipe(nodeunit({
reporter: 'junit',
reporterOptions: {
output: 'test'
}
}));
});