* Pete Krawczyk <[EMAIL PROTECTED]> [2004-07-09T13:10:52]
> 
> Devel::Cover will always see that as a partial test, and never a full 
> test:
> [ ... ]
> Is that a bug, then?  Or is it something else?  And how should I notate
> that, keeping in mind the goals of Phalanx, so that it's clearly visible
> that no test of that condition's failure can truly take place in a regular
> "make test" run?

This came up just a few weeks ago, and I think the general feeling was
something like: cover everything, if possible; make everything
coverable, if practical; don't write stupid code to avoid "uncoverable"
situations.

So, if you know that branch isn't covered, but can't (really) be taken,
it's up to you whether that's a problem or not.  Deming, Who Knows
Quality, would tell us to avoid arbitrary goals of 100% coverage...

-- 
rjbs

Attachment: pgpGMa7TGPCVo.pgp
Description: PGP signature

Reply via email to