istanbul-phabricator-reporter

1.1.4 • Public • Published

Istanbul Reporter AWS Cloudwatch Metrics

This is a custom istanbuljs reporter to generate coverage metrics to Phabricator.

Installing

In your project:

npm install -i istanbul-phabricator-reporter --save-dev

Then run nyc with this custom reporter via the command line:

nyc --reporter=istanbul-phabricator-reporter mocha

Or, change your npm scripts for your project in package.json:

  (...)
  "scripts"{
    "test": "nyc --reporter=istanbul-phabricator-reporter mocha"
  },
  (...)

Getting Started

After running nyc and having your coverage results you'll have a coverage/phabricator_data.json file ready to be published to Phabricator through harbormaster.sendmessage.

License

This project is licensed under the MIT License - see the LICENSE.md file for details

Package Sidebar

Install

npm i istanbul-phabricator-reporter

Weekly Downloads

28

Version

1.1.4

License

ISC

Unpacked Size

3.84 kB

Total Files

4

Last publish

Collaborators

  • swahvay