Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re^2: Skipping tests if a module is not available

by Jeffrey Kegler (Hermit)
on Oct 31, 2007 at 04:21 UTC ( [id://648185]=note: print w/replies, xml ) Need Help??


in reply to Re: Skipping tests if a module is not available
in thread Skipping tests if a module is not available

It's not only canonical, it works! Thanks.

I am curious what "canonical" means. Is it roughly equivalent to "used in lots and lots of well-written modules"?

And what is the best way of searching/browsing modules? Before troubling my fellow monks with this inquiry, I tried to find test scripts that tackled this same issue, and was perplexed not to be able to find any. I suspect it was the quality of my search rather than lack of relevant scripts to be found.

  • Comment on Re^2: Skipping tests if a module is not available

Replies are listed 'Best First'.
Re^3: Skipping tests if a module is not available
by dragonchild (Archbishop) on Oct 31, 2007 at 12:36 UTC
    This is one of those things that you wouldn't have known if you haven't written a module for CPAN. In many CPAN distros, you'll find a pod.t and (possibly) a pod_coverage.t. Those use Test::POD and Test::Pod::Coverage respectively. In the POD for those test tools, you'll see this form. But, unless you write for CPAN where your POD syntax and coverage are important, it's unlikely you'll have ever run into those modules.

    I'd estimate that 90% of the usage that I gave you is to test for Test::POD or Test::Pod::Coverage. The rest tends to be for Test::Memory::Cycle and Test::Weaken and the like. For things like Test::Warn or Test::Deep, those are just made build requirements.


    My criteria for good software:
    1. Does it work?
    2. Can someone else come in, make a change, and be reasonably certain no bugs were introduced?
Re^3: Skipping tests if a module is not available
by GrandFather (Saint) on Oct 31, 2007 at 04:25 UTC

      I think Canon is more appropriate for this sense.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (8)
As of 2024-04-19 14:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found