Documented unittests & code coverage
Jonathan M Davis via Digitalmars-d
digitalmars-d at puremagic.com
Thu Jul 28 13:18:11 PDT 2016
On Thursday, July 28, 2016 12:15:27 Johannes Pfau via Digitalmars-d wrote:
> And as a philosophical question: Is code coverage in unittests even a
> meaningful measurement? We write unittests to test the library code. But
> if there's a line in a unittests which is never executed, this does not
> directly mean there's a problem in library code, as long as all library
> code is still tested. It may be an oversight in the unittest in the
> worst case, but how important are ovesights / bugs in the unittests if
> they don't affect library code in any way?
https://issues.dlang.org/show_bug.cgi?id=14856
- Jonathan M Davis
More information about the Digitalmars-d
mailing list