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.