Skip to content

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

Notifications You must be signed in to change notification settings

proverma/tap-file

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages