in reply to Testing CPAN module that requires credentials
but this approach wouldn't work for the actual release
Sure it would, as long as its conditional :)
Make sure you run your author tests before make dist and uploading
Always test things that don't require credentials
If user is brave and provides credentials, run the tests that need credentials, otherwise skip these particular tests
Or you can mock (fake) these credentials-needing tests instead of skipping outright or running them live
See http://search.cpan.org/dist/Net-OAuth/MANIFEST
See Test::Kwalitee :)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Testing CPAN module that requires credentials
by Marseille07 (Acolyte) on Jan 07, 2012 at 20:41 UTC |