Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: Re: Testing for Beginners

by pfaut (Priest)
on Apr 08, 2004 at 19:04 UTC ( [id://343705]=note: print w/replies, xml ) Need Help??


in reply to Re: Testing for Beginners
in thread Testing for Beginners

I started going through Test::Tutorial and decided to write some better tests for one of my modules on CPAN. Wouldn't you know it, it exposed a bug in a section of code that I wrote but probably never had the reason to use. Guess it's time to collect all those improvements and submit a new version!

90% of every Perl application is already written.
dragonchild

Replies are listed 'Best First'.
Re: Re: Re: Testing for Beginners
by Ovid (Cardinal) on Apr 08, 2004 at 19:13 UTC

    Heh :) I hear that all the time. My favorite was when I started writing tests for a security module and immediately found a transient bug that had been stumping me for around a year!

    Once you get into testing, check out Devel::Cover. It is probably the single most important testing tool outside of the actual tests.

    Cheers,
    Ovid

    New address of my CGI Course.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (5)
As of 2024-04-25 14:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found