Name: tap-teamcity
Owner: SalesforceIQ
Description: Formats TAP output for TeamCity.
Created: 2016-06-21 03:49:03.0
Updated: 2016-06-21 03:49:04.0
Pushed: 2016-06-21 04:24:33.0
Size: 23
Language: JavaScript
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
Formats TAP output for TeamCity.
Run npm install --save-dev tap-teamcity
to add tap-teamcity
to your project.
t test = require('tape')
t tapTeamCity = require('tap-teamcity')
.createStream()
ipe(tapTeamCity())
ipe(process.stdout)
package.json
ame": "module-name",
cripts": {
"test": "tape test/**/*.js | tap-teamcity"
Then run with npm test
Terminal
test/**/*.js | ./node_modules/.bin/tap-teamcity
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.
Many thanks to @scottcorgan for creating the tap-spec formatter, which inspired this one.