Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"

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.

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.


    New address of my CGI Course.

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (9)
As of 2021-03-04 19:58 GMT
Find Nodes?
    Voting Booth?
    My favorite kind of desktop background is:

    Results (107 votes). Check out past polls.