I do not understand what you mean by "First of all, use prompt()" ---
is that function supplied by some module like "use IO::prompt;" ?

Where can I find documentation for prompt()  ?

Thanks.

On Mon, Dec 14, 2009 at 5:19 PM, Serguei Trouchelle <s...@railways.dp.ua> wrote:
> Chris Mills wrote:
>
>> I uploaded my first module today (WWW-Compete-0.01) and I see that some
>> tests are failing.  I believe that's because a Compete API key is required
>> before the tests can be successfully executed.  There's a point in one of
>> the tests where the user is asked to input an API key, but I understand
>> that's not very helpful for automated testing.
>>
>> I'd like to fix this.  Can you provide any suggestions for handling this
>> scenario, or perhaps point me to a module that handles this in what you
>> would consider a well done way?
>
> First of all, use prompt(), because direct reading from STDIN hangs smokers,
> and you may find your module in disabled.yml, which is not very helpful for
> you either.
>
> Then, skip all tests when no key is given.
>
> --
> Serguei Trouchelle
>

Reply via email to