Test coverage is 18.4%

Max Kanat-Alexander mkanat at bugzilla.org
Fri Feb 12 22:50:54 UTC 2010


On 02/12/2010 02:05 PM, Aaron Evans wrote:
> The biggest problem I've found trying to go back and fill in unit tests
> is you can either cover the obvious things that won't break unless there
> are API changes, but the type of stuff that more often breaks can't
> often be deduced from the code (not to mention you can't find existing
> bugs when the implementation is your spec.

	Yeah, true, but I think that using a coverage tool helps a lot with
that, because then at least you can be sure that all code paths are
covered. Perl's testing tools are actually really top-of-the-line stuff,
for the most part, and Devel::Cover is pretty good.

	-Max
-- 
http://www.everythingsolved.com/
Competent, Friendly Bugzilla and Perl Services. Everything Else, too.



More information about the developers mailing list