pirkil has asked for the wisdom of the Perl Monks concerning the following question:
Dear monks,
I have a program which uses Term::ReadLine in order to set input options interactively. I can't present the code, so my question/meditation is a bit gnomic, I know. However, there are several options for the script, so the user is first being asked for the input file, then for the output destination, etc.
Now I need to extend my test to cover this behaviour. How can I simulate an interactive process from the test? I would appreciate any suggestions, thank you.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Testing Interactive Interface?
by moritz (Cardinal) on Oct 18, 2013 at 08:57 UTC | |
|
Re: Testing Interactive Interface?
by GrandFather (Saint) on Oct 18, 2013 at 08:30 UTC |