colortape
v0.1.2
Published
Colorize test results of tape/node-tap.
Downloads
556
Readme
colortape
Colorize test results of tape/node-tap.
Installation
npm install -g colortape
To use with npm test
, install locally.
npm install -save-dev colortape
Usage
Wrapper command (recommended)
Use colortape
command instead of tape
command.
colortape test/foo.js
This usage is recommended because it exits with the same exit code as tape
command.
Pipe
Pipe the result of tape
command.
tape test/foo.js | colortape
With this usage, don't use the exit code of colortape
command. Use $PIPESTATUS
instead.
Windows
colortape is not officially supported on Windows because I don't have any Windows box. Here is the CI status on AppVeyor though.