3.0.2 • Published 6 years ago

tap-teamcity v3.0.2

Weekly downloads
36
License
ISC
Repository
github
Last release
6 years ago

tap-teamcity

npm Build Status Build status codecov Known Vulnerabilities Greenkeeper badge

Formats TAP output for TeamCity.

Installation

Run npm install --save-dev tap-teamcity to add tap-teamcity to your project.

Usage

Streaming

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

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

CLI

package.json

{
  "name": "module-name",
  "scripts": {
    "test": "tape test/**/*.js | tap-teamcity"
  }
}

Then run with npm test

Terminal

tape test/**/*.js | ./node_modules/.bin/tap-teamcity

Testing

tap-teamcity includes several unit tests. After cloning the tap-teamcity repo locally, run npm install in the project folder to install dependencies, then npm test to execute the tests.

Credits

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

3.0.2

6 years ago

3.0.1

7 years ago

3.0.0

7 years ago

2.1.0

7 years ago

2.0.0

7 years ago

1.2.1

8 years ago

1.2.0

8 years ago

1.1.0

8 years ago

1.0.0

8 years ago