tap-nyc

1.0.3 • Public • Published

tap-nyc

nyc compatible TAP output formatter.

I made this package because I like the Tape testing framework which produces TAP output, but unfortunately the existing TAP formatters I found never played well with the nyc code coverage package as they either produced errors or produced incorrect looking output. Further, I only want to see minimal output from my TAP formatter when all tests pass, as the output from nyc can already be bulky on its own.

install

To install as a developer dependency:

npm install tap-nyc --save-dev

example usage with tapejs and nyc

Put the following in your package.json:

"scripts": {
  "test": "nyc tape tests/*.js | tap-nyc"
},

Here's output I get for one of my projects when I run "npm t":

Here's what it looks like when a test fails:

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.3
    1,073
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.3
    1,073
  • 1.0.2
    0
  • 1.0.1
    0
  • 1.0.0
    0

Package Sidebar

Install

npm i tap-nyc

Weekly Downloads

1,073

Version

1.0.3

License

MIT

Last publish

Collaborators

  • megaarman