0.0.4 • Published 7 years ago

karma-cta-reporter v0.0.4

Weekly downloads
1
License
-
Repository
github
Last release
7 years ago

Brought to you by @michelsalib.

NPM version

###Install

npm install --save-dev karma-cta-reporter

###Usage

mocha --reporters cta

###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
gitlabRepoid of the gitlab repo
shaThe hash of the commit
proxyAn optional proxy it should use to connect to github API
ctaUrlThe url github should reference back to when displaying the test status

Example:

karma start --reporters cta --accessToken=myaccesstoken --githubRepo=thomsonreuters/news-jet-plugin --sha=abcdefg --proxy=http://webproxy.lon.corp.services:80 --ctaUrl=https://compass.thomsonreuters.com/test/#/run/132456789