100.100.100 • Published 6 years ago

onehundred v100.100.100

Weekly downloads
2
License
MIT
Repository
github
Last release
6 years ago

💯 - onehundred

npm.io

An optimistic code coverage tool.

npm.io

Calculating how much of your code is tested is hard. Test coverage is an important number to put on your spreadhseets, just like other important engineering success and quality metrics, such as:

  • number of codes (slocs)
  • codes per person
  • man-months per man
  • number of 9's
  • ratio of p's to 9's
  • conversion

The philosophy behind 💯 is that metrics should be actionable, relevant, and most importantly positive. With 💯, you can guarantee that when you calculate test coverage of your code, you (and your manager) will always be satisfied.

Usage

Simply install it:

yarn add onehundred

Then, use it in your tests (alongside with a good test tool, such as no-bugs):

// package.json:
...
"scripts":
  "test": "no-bugs && onehundred"
}
100.100.100

6 years ago

100.0.0

6 years ago

1.0.0

6 years ago