relateiq/tap-teamcity

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

Homepage:

Size: 23

Language: JavaScript

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

npm Build Status Build status Code Climate Test Coverage Coverage Status Known Vulnerabilities

tap-teamcity

Formats TAP output for TeamCity.

Installation

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

Usage
Streaming
t test = require('tape')
t tapTeamCity = require('tap-teamcity')

.createStream()
ipe(tapTeamCity())
ipe(process.stdout)
CLI

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


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.