tap-mocha-reporter

5.0.4 • Public • Published

tap-mocha-reporter

Format a TAP stream using Mocha's set of reporters

USAGE

On the command line, pipe TAP in, and it'll do its thing.

tap test/*.js | tap-mocha-reporter

You can also specify a reporter with the first argument. The default is spec.

tap test/*.js | tap-mocha-reporter nyan

Programmatically, you can use this as a transform stream.

var TSR = require('tap-mocha-reporter')

fs.createReadStream('saved-test-output.tap')
  .pipe(TSR('dot'))

Readme

Keywords

none

Package Sidebar

Install

npm i tap-mocha-reporter

Weekly Downloads

120,993

Version

5.0.4

License

ISC

Unpacked Size

108 kB

Total Files

39

Last publish

Collaborators

  • isaacs