Skip to content

Commit 6978df4

Browse files
authored
Separate tap extensions by category
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.
1 parent 092344b commit 6978df4

File tree

1 file changed

+14
-9
lines changed

1 file changed

+14
-9
lines changed

readme.markdown

+14-9
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ Please note that all modules loaded using the `-r` flag will run *before* any te
8888

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

91-
## pretty reporters
91+
## reporters for humans
9292

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

@@ -98,26 +98,30 @@ that will output something pretty if you pipe TAP into them:
9898
- https://github.com/scottcorgan/tap-spec
9999
- https://github.com/scottcorgan/tap-dot
100100
- https://github.com/substack/faucet
101-
- https://github.com/juliangruber/tap-bail
102101
- https://github.com/kirbysayshi/tap-browser-color
103-
- https://github.com/gummesson/tap-json
104102
- https://github.com/gummesson/tap-min
105103
- https://github.com/calvinmetcalf/tap-nyan
106-
- https://www.npmjs.org/package/tap-pessimist
104+
- https://github.com/clux/tap-pessimist
107105
- https://github.com/toolness/tap-prettify
108106
- https://github.com/shuhei/colortape
109-
- https://github.com/aghassemi/tap-xunit
110107
- https://github.com/namuol/tap-difflet
111-
- https://github.com/gritzko/tape-dom
112108
- https://github.com/axross/tap-diff
113109
- https://github.com/axross/tap-notify
114110
- https://github.com/zoubin/tap-summary
111+
112+
You use these reporters by piping the tape output into them. For example,
113+
try `node test/index.js | tap-spec`.
114+
115+
## reporters for other file formats
116+
117+
- https://github.com/gummesson/tap-json
118+
- https://github.com/aghassemi/tap-xunit
119+
- https://github.com/gritzko/tape-dom
115120
- https://github.com/Hypercubed/tap-markdown
116121

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

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

122126
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.
123127

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

130135
# methods
131136

0 commit comments

Comments
 (0)