Do everything in Java…

Walter Bright via Digitalmars-d digitalmars-d at puremagic.com
Fri Dec 5 12:25:48 PST 2014


On 12/5/2014 1:27 AM, Paulo Pinto wrote:
> Just because code has tests, doesn't mean the tests are testing what they
> should. But if they reach the magical percentage number then everyone is happy.

I write unit tests with the goal of exercising every line of code. While one can 
argue that that doesn't really test what the code is supposed to be doing, my 
experience is that high coverage percentages strongly correlate with few 
problems down the road.



More information about the Digitalmars-d mailing list