Colorize test results of tape.
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
bin
test
.travis.yml
README.md
appveyor.yml
index.js
package.json

README.md

colortape

Colorize test results of tape/node-tap.

Travis build status NPM version NPM downloads

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.

AppVeyor build status