tap-spec-dot
v0.1.4
Published
Forked tap-spec TAP reporter, but with dots for passing tests
Downloads
6
Readme
Forked tap-spec TAP reporter, but with dots for passing tests
Install
npm install tap-spec-dot --save-dev
Usage
Streaming
var test = require('tape');
var tapSpec = require('tap-spec-dot');
test.createStream()
.pipe(tapSpec())
.pipe(process.stdout);
CLI
package.json
{
"name": "module-name",
"scripts": {
"test": "node ./test/tap-test.js | tap-spec-dot"
}
}
Then run with npm test
Terminal
tape test/index.js | node_modules/.bin/tap-spec-dot
Testling
npm install testling -g
testling test/index.js | node_modules/.bin/tap-spec-dot