tap-tc

4.4.3 • Public • Published

tap-tc

Formats TAP output for TeamCity.

Maintained fork of tap-teamcity.

Donate

Installation

npm i -D tap-tc

Usage

Streaming

const test = require('tape')
const tapTeamCity = require('tap-tc')

test.createStream()
  .pipe(tapTeamCity())
  .pipe(process.stdout)

CLI

package.json

{
  "scripts": {
    "test": "tape test/**/*.js | tap-tc"
  }
}

Then run with npm test

Terminal

tape test/**/*.js | npx tap-tc

Testing

Clone this project, run npm ci, then npm t.

Credits

Originally written by @smockle, but their project is now archived and unmaintained.

Many thanks to @scottcorgan for creating the tap-spec formatter, which inspired this one.

Readme

Keywords

Package Sidebar

Install

npm i tap-tc

Weekly Downloads

3

Version

4.4.3

License

MIT

Unpacked Size

17.4 kB

Total Files

8

Last publish

Collaborators

  • zacanger