Program logic bugs vs input/environmental errors

Dicebot via Digitalmars-d digitalmars-d at puremagic.com
Thu Oct 16 12:56:56 PDT 2014


On Thursday, 16 October 2014 at 19:35:40 UTC, Walter Bright wrote:
> Ok, but why would 3rd party library unittests be a concern? 
> They shouldn't have shipped it if their own unittests fail - 
> that's the whole point of having unittests.

Libraries tend to be forked and modified. Libraries aren't always 
tested in environment similar to specific production case. At the 
same time not being able to use same test runner in all 
Continious Integration jobs greatly reduces the value of having 
standard unittest blocks in the very first place.


More information about the Digitalmars-d mailing list