tapasvimoturu / grunt-code-coverage-enforcer

This is a grunt task that will read the LCOV file and fails the build if it doesn't meet the specified thresholds
8 stars 12 forks source link

There are a few things that I have added as part of this checkin. #4

Closed happysomani closed 9 years ago

happysomani commented 9 years ago
  1. Updated the version information in package.json to 0.2.0
  2. Moved some of the code from tasks/code-coverage-enforcer.js to tasks/lib/code-coverage-enforcer-lib.js
  3. Updated the code in code-coverage-enforcer-lib.js to support multiple code coverage threshold configurations for different pieces of sources in the same project
  4. Added some tests in test/code-coverage-enforcer-test.js
  5. Added a file that is used by the tests.

The multiple configuration should use the property path to specify the source and not the property "src" as was the case in previous versions.