tap-file
v0.0.2
Published
Mocha TAP reporter, with added capability of storing results in a file
Downloads
14,100
Readme
tap-file
Mocha TAP reporter, with added capability of storing results in a file
How to use
- Add "tap-file" to your package.json as a devDependency
- 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
- This reporter is heavily inspired from xunit-file
- This reporter is just the original tap reporter from mocha, only writing the result in a file.