karma-cta-reporter

0.0.4 • Public • Published

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:

key description
accessToken access token so it can connect to github API, it needs at least repo write access
githubRepo name of the github repo
gitlabRepo id of the gitlab repo
sha The hash of the commit
proxy An optional proxy it should use to connect to github API
ctaUrl The 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

Readme

Keywords

Package Sidebar

Install

npm i karma-cta-reporter

Weekly Downloads

1

Version

0.0.4

License

none

Last publish

Collaborators

  • michelsalib