Colorize test results of tape/node-tap.
npm install -g colortape
To use with npm test
, install locally.
npm install -save-dev colortape
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 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.
colortape is not officially supported on Windows because I don't have any Windows box. Here is the CI status on AppVeyor though.