News for hackers. Stuff that matters.
Re:99% code coverage (2017) by jondubois on Wednesday January 16, 2019 @06:32AM (#18919941)
Wikipedia disagrees with that definition:

"Intuitively, one can view a unit as the smallest testable part of an application. In procedural programming, a unit could be an entire module, but it is more commonly an individual function or procedure. In object-oriented programming, a unit is often an entire interface, such as a class, but could be an individual method.[2] Unit tests are short code fragments[3] created by programmers or occasionally by white box testers during the development process. It forms the basis for component testing.[4]

Ideally, each test case is independent from the others. Substitutes such as method stubs, mock objects,[5] fakes, and test harnesses can be used to assist testing a module in isolation. Unit tests are typically written and run by software developers to ensure that code meets its design and behaves as intended."

https://en.wikipedia.org/wiki/Unit_testing

Re:99% code coverage (2017) by twodave on Wednesday January 16, 2019 @06:43AM (#18919994)
I don’t think that definition necessarily is in conflict with my point.