tap-reporter-dot

1.0.1 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i tap-reporter-dot

Weekly Downloads

0

Version

1.0.1

License

MIT

Last publish

Collaborators

  • tokimon