mocha-tldr-reporter

1.0.0 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i mocha-tldr-reporter

Weekly Downloads

9

Version

1.0.0

License

MIT

Last publish

Collaborators

  • herbrandson