Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: Re: Re: Re: Testaholics Anonymous (or how I learned to stop worrying and love Test::More)

by chromatic (Archbishop)
on Apr 01, 2004 at 01:41 UTC ( #341481=note: print w/ replies, xml ) Need Help??


in reply to Re: Re: Re: Testaholics Anonymous (or how I learned to stop worrying and love Test::More)
in thread Testaholics Anonymous (or how I learned to stop worrying and love Test::More)

At the risk of tempting tilly into posting a top-level meditation in the subject, I disagree that can() is too tricky to get right.

Granted, many people get it wrong, but the solution is well documented.

I prefer to test my subs and methods with can_ok() because I prefer the way it documents failure, if things fail. It's also very handy to test exporting, if that's your style.


Comment on Re: Re: Re: Re: Testaholics Anonymous (or how I learned to stop worrying and love Test::More)
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (6)
As of 2015-07-07 01:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (86 votes), past polls