ait has asked for the wisdom of the Perl Monks concerning the following question:
This has probably come up many times but I tried super searching with several word combinations but could not find what I was looking for. I also searched CPAN and nothing
So the question is, how the heck do I make an interactive test such as those I have seen sometimes, like "Do you want to run live tests (y/n)?". I'm guessing there is some magic with a SKIP block, but how do I get my question out to the user and how do I get the input back???
The Test::More POD says
For more details on the mechanics of skip and todo tests see Test::Harness.
But the latter doesn't really say much abot the matter :-(
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Interactive Test
by MidLifeXis (Monsignor) on Sep 17, 2010 at 21:43 UTC | |
by ait (Hermit) on Sep 18, 2010 at 01:28 UTC | |
|
Re: Interactive Test
by chromatic (Archbishop) on Sep 17, 2010 at 21:31 UTC | |
|
Re: Interactive Test
by BrowserUk (Patriarch) on Sep 17, 2010 at 21:36 UTC | |
by ait (Hermit) on Sep 17, 2010 at 21:41 UTC | |
|
Re: Interactive Test
by Anonymous Monk on Sep 17, 2010 at 21:22 UTC | |
by ait (Hermit) on Sep 17, 2010 at 21:28 UTC |