coverage-warning

0.0.2 • Public • Published

coverage-warning

Provides a coverage-warning command that when run emits the following message:

With Great Power Comes Great Responsibility:

  Adding tests solely for the purpose of increasing code coverage
  considered harmful:

    * http://www.dan-manges.com/blog/increasing-code-coverage-may-be-harmful

  Good tests verify the desired behavior of the program in the tersest,
  most easy to comprehend manner. Your coverage report is available as
  'coverage-report.html'.

Please use this information in a responsible manner.

allowing you minimize the chance that any coverage report facility you provide is misused.

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.2
    5
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.0.2
    5

Package Sidebar

Install

npm i coverage-warning

Weekly Downloads

0

Version

0.0.2

License

ISC

Last publish

Collaborators

  • dchambers