comprehensive-js-coverage
v0.1.4
Published
A library to provide comprehensive unit test coverage of your code considering opened PRs & ownerships to avoid double efforts, hence increasing productivity.
Downloads
2
Readme
Comprehensive JS Coverage
A library to provide comprehensive unit test coverage of your code considering opened PRs & ownerships to avoid double efforts, hence increasing productivity.
Installation
npm install comprehensive-js-coverage
Usage
var coverage = require('comprehensive-js-coverage');
coverage('repo_name', 'repo_owner', 'base_branch');
This would generate a /comprehensive_coverage
directory under project root, containing unit test coverage reports for each Pull Request branch and the base branch.
Tests
npm test