0.1.4 • Published 4 years ago

tap-spec-dot v0.1.4

Weekly downloads
2
License
MIT
Repository
github
Last release
4 years ago

Forked tap-spec TAP reporter, but with dots for passing tests

npm.io

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