tap-bark

v0.0.2
TAP parser for Alsatian

tap-bark

TAP parser for Alsatian.

npm license build status code quality code coverage

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)
...

Metadata

  • MIT
  • Whatever
  • James Monger
  • released 9/22/2016

Downloads

Maintainers