Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: Testing A Stand Alone Application

by Thilosophy (Curate)
on Mar 13, 2008 at 02:19 UTC ( #673879=note: print w/ replies, xml ) Need Help??


in reply to Testing A Stand Alone Application

How do we create a testing for a stand alone application (i.e. not a module)?

It is good practice to divide your application internally into modules, even if you have no intention to publish those independently or even reuse them internally. This way, you would end up with a bunch of modules that you could test, and that should give you good coverage for most of your code. The remaining code will ideally be a simple script that just ties these modules together to form the application. That script should be either too trivial to warrant testing, or complex enough to be refactored into using some more modules.


Comment on Re: Testing A Stand Alone Application

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (4)
As of 2014-07-26 19:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (178 votes), past polls