in reply to Re^2: Testing failures: How to override print to make it fail?
in thread Testing failures: How to override print to make it fail?
Of course, if you absolutely had to test print's success or failure, you could
use Fatal qw( print );
As for Devel::Cover ... I shoot for 90%+ coverage. There are several good conversations on D::C and why attempting to achieve 100% is ... well ... dumb. :-)
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^4: Testing failures: How to override print to make it fail?
by adrianh (Chancellor) on May 05, 2005 at 13:40 UTC |