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

testing functions that prompt user or call external commands

by asbjxrn (Acolyte)
on Dec 16, 2009 at 06:09 UTC ( [id://812981]=perlquestion: print w/replies, xml ) Need Help??

asbjxrn has asked for the wisdom of the Perl Monks concerning the following question:

Hi

I have inherited some code that I want to set up some test for. But most of the code is input routines that prompt the user for input or execution functions that calls a function to run external commands. Any suggestions for how to test such functions?

  • Comment on testing functions that prompt user or call external commands

Replies are listed 'Best First'.
Re: testing functions that prompt user or call external commands
by bichonfrise74 (Vicar) on Dec 16, 2009 at 06:46 UTC

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others browsing the Monastery: (4)
As of 2024-04-24 04:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found