tap-appveyor
v0.1.0
Published
Report TAP output to AppVeyor
Downloads
2
Readme
tap-appveyor
tap-appveyor is a small utility for sending TAP output from your test framework to AppVeyor's test console.
Usage
Streaming
const test = require('tape');
const appveyor = require('tap-appveyor');
test.createStream().pipe(appveyor());
CLI
ava --tap | tap-appveyor
Options
The below options can be provided as environment variables, CLI arguments, or as entries in an options object passed to the module function. The latter two take precedence over environment variables.
|Option Name |CLI Argument |Environment Variable |Default | |-----------------|----------------------|---------------------------------|---------------------------------------------------------| |apiUrl |--api-url |APPVEYOR_API_URL |unset, but AppVeyor sets the environment variable for you| |batchIntervalInMs|--batch-interval-in-ms|APPVEYOR_BATCH_INTERVAL_IN_MS|1000 | |batchSize |--batch-size |APPVEYOR_BATCH_SIZE |100 |
Credits
Heavily inspired by, if not a straight ripoff of, mocha-appveyor-reporter.