1.0.1 • Published 7 years ago

tap-reporter-dot v1.0.1

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

tap-reporter-dot

Formatted TAP output with dots ...

NOTE

Originaly forked from the excellent tap-dot by scottcorgan, but the tap-out parser doesn't work properly with in-script streams, so I switched the TAP parser to tap-parser

Passed tests

Passed tests

Failed tests

Failed tests

Install

npm install tap-reporter-dot --save-dev

Usage

Streaming

const dot = require('tap-reporter-dot');
const tape = require('tape'); // Or another TAP reporter

tape.createStream()
  .pipe(dot())
  .pipe(process.stdout);

CLI

package.json

{
  "name": "module-name",
  "scripts": {
    "test": "node ./test/tap-test.js | tap-reporter-dot"
  }
}

Then run with npm test

Terminal

tape test/index.js | node_modules/.bin/tap-reporter-dot

Testling

npm install testling -g
testling test/index.js | node_modules/.bin/tap-reporter-dot