Skip Menu |

This queue is for tickets about the Net-PingFM CPAN distribution.

Report information
The Basics
Id: 47161
Status: resolved
Priority: 0/
Queue: Net-PingFM

People
Owner: Nobody in particular
Requestors: jonathan [...] leto.net
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 0.3
Fixed in: (no value)



Subject: Interactive Prompts during the build process are bad
This interactive prompt: Online tests will need api/user keys and an internet connection. Don't worry the tests (should not) post anything as we'll send posts with the debug flag! Run online tests? [n] is bad for automated installs. It is better to stub out the the LWP::get() method to test the API.
On Fri Jun 19 16:51:57 2009, LETO wrote: Show quoted text
> is bad for automated installs.
This should not be a problem because it uses the standard prompt mechanism , so you should just get the default in an automated install. It's worth setting PERL_MM_USE_DEFAULT or AUTOMATED_TESTING to ensure any interactivity is skipped when installing Perl modules. As for the pluses and minuses of having the option of an automated test at all.I like it because it actually verifies that the module works against the real thing. I do have better simulation tests in my local work though which I will get around to releasing at some point. Let me know what you think on these points. Joe.
On Tue Jun 23 09:48:43 2009, DRAXIL wrote: Show quoted text
> As for the pluses and minuses of having the option of an automated test
That should have read "As for the pluses and minuses of the option of an ONLINE test!
With no feedback on my response I'm closing this for now assuming that was satisfactory.. Please feel free to contradict me!