in reply to when do you stop writing test?

Devel::Cover will show you, via a cool color-coded listing, all the untested paths and boolean combinations in your code.

I rarely have time to write tests for complete 100% coverage, but I find it very helpful to have the untested sections pointed out so clearly.

Replies are listed 'Best First'.
Re^2: when do you stop writing test?
by pemungkah (Priest) on Feb 10, 2007 at 19:57 UTC
    Remember that full coverage means only that your tests have touched all the code -- not that the code is doing everything right. That said, Devel::Cover can be a great way of spotting stuff you haven't tested yet.