in reply to Outputting input prompt with prove
If you need a value for the test to run, obtain it with ExtUtils::MakeMaker::prompt when building the Makefile. If you are trying to test a program that itself has interactive prompting and you cannot or do not choose to mock it, try Test::Expect.
Hope this helps!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Outputting input prompt with prove
by nysus (Parson) on Aug 05, 2019 at 12:43 UTC |