0.5.7 • Published 10 years ago
mocha-dot-reporter-async v0.5.7
mocha-dot-reporter-async
Used when reporting from Gulp. Outputs all test results at once to avoid an async console.log mess.
Removed output from successful unit tests, since displaying dots when the process output is only displayed at the end is kinda pointless.
##Example
gulp.task('unit-tests', function () {
var mocha = require('gulp-mocha');
return gulp.src('./test/unit/**/*.js', {read: false})
.pipe(mocha({
reporter: 'mocha-dot-reporter-async',
ui: 'bdd'
}));
});
##To DO
- Lower code complexity
- Find better way to convert checkmarks and ecks between windows and linux/mac.