tap-bark
v2.3.1
Published
TAP parser for Alsatian
Downloads
5,173
Readme
tap-bark
TAP parser for Alsatian.
Usage
You can use TAP Bark via the CLI or Node, Huzzah!!!
CLI
// an example using alsatian
alsatian "**/*.spec.js" --tap | tap-bark
// or another test framework
another-test-framework --your-flags | tap-bark
Node
import { TapBark } from "tap-bark";
...
// create tap bark instance
const bark = TapBark.create();
// setup the streams
resultsStream.pipe(bark.getPipeable()) // pipe the TAP stream to TAP Bark
.pipe(process.stdout); // then TAP Bark's output to the console (or a file if you so wish)
...