0.0.14 • Published 8 years ago

mocha-cta-reporter v0.0.14

Weekly downloads
17
License
-
Repository
github
Last release
8 years ago

Brought to you by @Vladimir-Clausse and @michelsalib from an initial contribution by @kiettisak-angkanawin.

NPM version

###Install

npm install --save-dev mocha-cta-reporter

###Usage

mocha --reporter mocha-cta-reporter --no-exit

The --no-exit flag is important, as the reporter works asynchronously mocha should not stop it.

###Configuration

You can provide additional configuration to the reporter so it additionally report the test status to Github:

keydescription
accessTokenaccess token so it can connect to github API, it needs at least repo write access
githubReponame of the github repo
shaThe hash of the commit
proxyAn optional proxy it should use to connect to github API
urlThe url github should reference back to when displaying the test status

Example:

mocha --no-exit -R mocha-cta-reporter -O accessToken=myaccesstoken,githubRepo=thomsonreuters/news-services,sha=abcdefg,proxy=http://webproxy.lon.corp.services:80,url=https://compass.thomsonreuters.com/test/#/run/132456789
0.0.14

8 years ago

0.0.13

8 years ago

0.0.12

8 years ago

0.0.11

8 years ago

0.0.10

9 years ago

0.0.9

9 years ago

0.0.8

9 years ago

0.0.7

9 years ago

0.0.6

9 years ago

0.0.5

9 years ago

0.0.4

9 years ago

0.0.3

9 years ago

0.0.2

9 years ago

0.0.1

9 years ago