Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris

Re: Testing programs

by xdg (Monsignor)
on Oct 25, 2005 at 13:56 UTC ( #502715=note: print w/replies, xml ) Need Help??

in reply to Testing programs

You might want to look at How a script becomes a module. The idea described there is to write the program in a way that can be loaded as a module for testing specific subroutine functionality, or can be run as a program. For the more macro input/output testing, you may also want to see the template I offered in Re: Test driven development and glue code


Code written by xdg and posted on PerlMonks is public domain. It is provided as is with no warranties, express or implied, of any kind. Posted code may not have been tested. Use of posted code is at your own risk.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://502715]
LanX giggles

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (6)
As of 2017-12-16 18:54 GMT
Find Nodes?
    Voting Booth?
    What programming language do you hate the most?

    Results (458 votes). Check out past polls.