Skip to content

Commit

Permalink
Separate tap extensions by category
Browse files Browse the repository at this point in the history
Previously, we grouped most extensions (even tap-bail) into 'pretty reporters'.

This groups extensions into human-friendly reporters, machine readable reporters,
error handling, and other. This helps users discover extensions.
  • Loading branch information
Wilfred committed Sep 1, 2016
1 parent 092344b commit 6978df4
Showing 1 changed file with 14 additions and 9 deletions.
23 changes: 14 additions & 9 deletions readme.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ Please note that all modules loaded using the `-r` flag will run *before* any te

tape maintains a fairly minimal core. Additional features are usually added by using another module alongside tape.

## pretty reporters
## reporters for humans

The default TAP output is good for machines and humans that are robots.

Expand All @@ -98,26 +98,30 @@ that will output something pretty if you pipe TAP into them:
- https://github.com/scottcorgan/tap-spec
- https://github.com/scottcorgan/tap-dot
- https://github.com/substack/faucet
- https://github.com/juliangruber/tap-bail
- https://github.com/kirbysayshi/tap-browser-color
- https://github.com/gummesson/tap-json
- https://github.com/gummesson/tap-min
- https://github.com/calvinmetcalf/tap-nyan
- https://www.npmjs.org/package/tap-pessimist
- https://github.com/clux/tap-pessimist
- https://github.com/toolness/tap-prettify
- https://github.com/shuhei/colortape
- https://github.com/aghassemi/tap-xunit
- https://github.com/namuol/tap-difflet
- https://github.com/gritzko/tape-dom
- https://github.com/axross/tap-diff
- https://github.com/axross/tap-notify
- https://github.com/zoubin/tap-summary

You use these reporters by piping the tape output into them. For example,
try `node test/index.js | tap-spec`.

## reporters for other file formats

- https://github.com/gummesson/tap-json
- https://github.com/aghassemi/tap-xunit
- https://github.com/gritzko/tape-dom
- https://github.com/Hypercubed/tap-markdown

To use them, try `node test/index.js | tap-spec` or pipe it into one
of the modules of your choice!
## failing assertions

## uncaught exceptions
If any assertions fail, tape will continue. To terminate on the first failure, see [tap-bail](https://github.com/juliangruber/tap-bail).

By default, uncaught exceptions in your tests will not be intercepted, and will cause tape to crash. If you find this behavior undesirable, use [tape-catch](https://github.com/michaelrhodes/tape-catch) to report any exceptions as TAP errors.

Expand All @@ -126,6 +130,7 @@ By default, uncaught exceptions in your tests will not be intercepted, and will
- CoffeeScript support with https://www.npmjs.com/package/coffeetape
- Promise support with https://www.npmjs.com/package/blue-tape
- ES6 support with https://www.npmjs.com/package/babel-tape-runner
- Inclue time information with https://github.com/diasdavid/timed-tape

# methods

Expand Down

0 comments on commit 6978df4

Please sign in to comment.