You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
Copy file name to clipboardexpand all lines: readme.markdown
+14-9
Original file line number
Diff line number
Diff line change
@@ -88,7 +88,7 @@ Please note that all modules loaded using the `-r` flag will run *before* any te
88
88
89
89
tape maintains a fairly minimal core. Additional features are usually added by using another module alongside tape.
90
90
91
-
## pretty reporters
91
+
## reporters for humans
92
92
93
93
The default TAP output is good for machines and humans that are robots.
94
94
@@ -98,26 +98,30 @@ that will output something pretty if you pipe TAP into them:
98
98
-https://github.com/scottcorgan/tap-spec
99
99
-https://github.com/scottcorgan/tap-dot
100
100
-https://github.com/substack/faucet
101
-
-https://github.com/juliangruber/tap-bail
102
101
-https://github.com/kirbysayshi/tap-browser-color
103
-
-https://github.com/gummesson/tap-json
104
102
-https://github.com/gummesson/tap-min
105
103
-https://github.com/calvinmetcalf/tap-nyan
106
-
-https://www.npmjs.org/package/tap-pessimist
104
+
-https://github.com/clux/tap-pessimist
107
105
-https://github.com/toolness/tap-prettify
108
106
-https://github.com/shuhei/colortape
109
-
-https://github.com/aghassemi/tap-xunit
110
107
-https://github.com/namuol/tap-difflet
111
-
-https://github.com/gritzko/tape-dom
112
108
-https://github.com/axross/tap-diff
113
109
-https://github.com/axross/tap-notify
114
110
-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
115
120
-https://github.com/Hypercubed/tap-markdown
116
121
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
119
123
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).
121
125
122
126
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.
123
127
@@ -126,6 +130,7 @@ By default, uncaught exceptions in your tests will not be intercepted, and will
126
130
- CoffeeScript support with https://www.npmjs.com/package/coffeetape
127
131
- Promise support with https://www.npmjs.com/package/blue-tape
128
132
- ES6 support with https://www.npmjs.com/package/babel-tape-runner
133
+
- Inclue time information with https://github.com/diasdavid/timed-tape
0 commit comments