Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re^2: Devel::Cover, Testing, 100%?!

by Crian (Curate)
on Jun 08, 2004 at 10:48 UTC ( [id://362271]=note: print w/replies, xml ) Need Help??


in reply to Re: Devel::Cover, Testing, 100%?!
in thread Devel::Cover, Testing, 100%?!

I would delete the obsolete second test.

If you don't want to remove it, then comment out the first check (in the first programm), so you get garbage into your second program and your error-case will be testet.

Or just put a "1 or" in front of your if-expression to test the output from your error-message.

But you cannot create a testsuit covering all cases, if you have redundant testcode.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://362271]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (6)
As of 2024-04-19 17:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found