Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: Re: Testing for Beginners

by pfaut (Priest)
on Apr 08, 2004 at 19:04 UTC ( #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
Node Status?
node history
Node Type: note [id://343705]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (6)
As of 2020-10-28 20:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My favourite web site is:












    Results (264 votes). Check out past polls.

    Notices?