nyc compatible TAP output formatter
Last updated 3 years ago by megaarman .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install tap-nyc 
SYNC missed versions from official npm registry.


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.


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:

Current Tags

  • 1.0.3                                ...           latest (3 years ago)

4 Versions

  • 1.0.3                                ...           3 years ago
  • 1.0.2                                ...           3 years ago
  • 1.0.1                                ...           3 years ago
  • 1.0.0                                ...           3 years ago
Maintainers (1)
Today 0
This Week 1
This Month 3
Last Day 1
Last Week 3
Last Month 18
Dependencies (7)
Dev Dependencies (1)
Dependents (1)

Copyright 2014 - 2016 © taobao.org |