From ef78c1f9c704a165f80544ea17914c1e8c18c97b Mon Sep 17 00:00:00 2001 From: "Raynos (Jake Verbaten)" Date: Wed, 11 Jun 2014 19:08:13 -0700 Subject: [PATCH 1/2] Add a section about reports to the README --- readme.markdown | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/readme.markdown b/readme.markdown index 4f53a0d5..9ef41e93 100644 --- a/readme.markdown +++ b/readme.markdown @@ -43,6 +43,27 @@ not ok 2 should be equal # fail 1 ``` +# pretty reporters + +The default TAP output is good for machines and humans that are robots. + +If you want a more colorful / pretty output there are lots of modules on npm +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/toolness/tap-prettify + +To use them, try `node test/index.js | tap-spec` or pipe it into one +of the modules of your choice! + # methods The assertion methods in tape are heavily influenced or copied from the methods From 467ce7a19686fc61aaad9633df64319ec416d61d Mon Sep 17 00:00:00 2001 From: "Raynos (Jake Verbaten)" Date: Wed, 11 Jun 2014 20:17:57 -0700 Subject: [PATCH 2/2] add colortape --- readme.markdown | 1 + 1 file changed, 1 insertion(+) diff --git a/readme.markdown b/readme.markdown index 9ef41e93..d7dc1433 100644 --- a/readme.markdown +++ b/readme.markdown @@ -60,6 +60,7 @@ that will output something pretty if you pipe TAP into them: - https://github.com/calvinmetcalf/tap-nyan - https://www.npmjs.org/package/tap-pessimist - https://github.com/toolness/tap-prettify + - https://github.com/shuhei/colortape To use them, try `node test/index.js | tap-spec` or pipe it into one of the modules of your choice!