Skip to content

A super low noise mocha reporter (i.e. the "min" reporter without the crazy screen clearing)

License

Notifications You must be signed in to change notification settings

herbrandson/mocha-tldr-reporter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mocha-tldr-reporter

A super low noise mocha reporter (i.e. the "min" reporter without the crazy screen clearing)

mocha-tldr-reporter is a reporter for mocha, patterned after the mocha-provided min reporter.

Installation

Install via npm:

$ npm install --save-dev mocha-tldr-reporter

Usage

If you're using gulp, use require to include mocha-tldr-reporter in your task, and then pass it in the reporter field to mocha:

var gulp = require('gulp');
var mocha = require('gulp-mocha');
var tldr = require('mocha-tldr-reporter');

gulp.task('test', function() {
  gulp.src('tests.js')
    .pipe(mocha({ reporter: tldr }));
});

If you're launching mocha from the command line, pass mocha-tldr-reporter using the -R or --reporter flag:

$ mocha -R mocha-tldr-reporter

Authors

Eric Herbrandson (eric@herbrandson.com)

License

Copyright (c) 2014 Eric Herbrandson

Released under the MIT license

About

A super low noise mocha reporter (i.e. the "min" reporter without the crazy screen clearing)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published