lxe/onehundred

Extremely optimistic code coverage tool

JavaScript

3

1 commits

updated Dec 15, 2017

See the code

README

๐Ÿ’ฏ - onehundred

An optimistic code coverage tool.

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"
}

Contributors

lxe

1 commits

lxe/onehundred

Extremely optimistic code coverage tool

JavaScript

3

1 commits

updated Dec 15, 2017

See the code

README

๐Ÿ’ฏ - onehundred

An optimistic code coverage tool.

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"
}

Contributors

lxe

1 commits

Languages

JavaScript

100.0%