mocha-appveyor-reporter

0.4.2 • Public • Published

Mocha reporter for AppVeyor

Report your test results to AppVeyor's testing infrastructure.

Build status Build Status

See it in action with this repository.

Install

npm install --save-dev mocha-appveyor-reporter

Usage

mocha --reporter mocha-appveyor-reporter

Options

This reporter is configurable via use of --reporter-options or by setting environment variables.

Reporter Option Environment Variable Default
appveyorBatchSize APPVEYOR_BATCH_SIZE 100
appveyorBatchIntervalInMs APPVEYOR_BATCH_INTERVAL_IN_MS 1000
appveyorApiUrl APPVEYOR_API_URL unset, but AppVeyor sets the environment variable for you

The reporter will by default batch and send tests in an API call to AppVeyor for every 100 tests completed or 1000ms elapsed (whichever happens first).

To override this behavior you may do the following:

mocha --reporter mocha-appveyor-reporter --reporter-options appveyorBatchSize=1

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
0.4.2604latest

Version History

VersionDownloads (Last 7 Days)Published
0.4.2604
0.4.16
0.4.01,271
0.3.012
0.2.16
0.2.05
0.1.013

Package Sidebar

Install

npm i mocha-appveyor-reporter

Weekly Downloads

1,771

Version

0.4.2

License

MIT

Unpacked Size

53.4 kB

Total Files

8

Last publish

Collaborators

  • nathanboktae
  • tolbertam