Anatomy of a bad test

Seb via Digitalmars-d digitalmars-d at puremagic.com
Thu Jul 7 07:04:30 PDT 2016


On Thursday, 7 July 2016 at 08:27:58 UTC, Joakim wrote:
> Moral of the story: always check the happy path with your 
> tests.  It's easy to get caught up in all the corner cases, 
> just don't forget the happy path.

Isn't the moral that we should start to check  code coverage for 
PRs and alert reviewers if the code coverage decreased or new, 
untested lines are added?


More information about the Digitalmars-d mailing list