tap-appveyor

0.1.0 • Public • Published

tap-appveyor

GitLab CI pipeline status Codecov status

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.

Readme

Keywords

Package Sidebar

Install

npm i tap-appveyor

Weekly Downloads

2

Version

0.1.0

License

MIT

Last publish

Collaborators

  • rhendric