tap-yaml-summary

0.2.0 • Public • Published

tap-yaml-summary NPM Version

Output a summary in YAML format from a TAP stream

Target User

This produces intentionally bare bones summaries. The primary target is modules with stable testing. If you are looking for a pretty output look elsewhere.

Command-line usage

tap test/*.js | tap-yaml-summary

API

This module works as a transform stream

const Reporter = require('tap-yaml-summary');

fs.createReadStream('saved-test-output.tap')
  .pipe(new Reporter().on('error', () => process.exit(1)))
  .pipe(process.stdout);

The error event is emitted on completion if any assertion failed or a bailout occurred.

Attribution

This was based on tap-mocha-reporter.

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.2.0
    1
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.2.0
    1
  • 0.1.0
    0

Package Sidebar

Install

npm i tap-yaml-summary

Weekly Downloads

1

Version

0.2.0

License

ISC

Unpacked Size

10.6 kB

Total Files

7

Last publish

Collaborators

  • coreyfarrell