1.1.2 • Published 9 years ago

appveyor-mocha v1.1.2

Weekly downloads
387
License
ISC
Repository
github
Last release
9 years ago

appveyor-mocha

Logging mocha test results to AppVeyor.

When mocha is run under AppVeyor reports test results (including stack trace in case of error) via AppVeyor Worker API.

In addition, arbitrary text can be logged.

When mocha is not run inside AppVeyor, this package does nothing.

Installation

npm install --save-dev appveyor-mocha

Then add two lines to test/mocha.opts:

--require appveyor-mocha
--no-exit

To post message to AppVeyor from your tests, say:

appveyor = require('appveyor-mocha');

//...

appveyor.message(someMessage);
appveyor.log(anotherMessage); // console.log + appveyor.message
1.1.2

9 years ago

1.1.1

9 years ago

1.1.0

9 years ago

1.0.1

9 years ago

1.0.0

9 years ago

0.9.1

9 years ago

0.9.0

9 years ago