0.0.2 • Published 10 years ago

tap-file v0.0.2

Weekly downloads
723
License
MIT
Repository
github
Last release
10 years ago

tap-file

Mocha TAP reporter, with added capability of storing results in a file

How to use

  1. Add "tap-file" to your package.json as a devDependency
  2. Run mocha with -R tap-file or --reporter tap-file

The tap output file is saved to the file given in the TAP_FILE environment variable, or process.cwd()/results.tap

TAP_FILE=output/results.tap mocha -R tap-file

Credits

  1. This reporter is heavily inspired from xunit-file
  2. This reporter is just the original tap reporter from mocha, only writing the result in a file.