Marseille07 has asked for the wisdom of the Perl Monks concerning the following question:
I'm writing tests for a module that wraps around Net::OAuth, and as such it requires Yahoo credentials (login and password) in order to test properly.
Since I haven't uploaded this on CPAN (though I am planning to) and I'm still testing locally, I put the credentials in my test file -- but this approach wouldn't work for the actual release. At the same time, without Yahoo's credentials then the tests would fail.
Any tips on how I can work around this? This is going to be my first module on CPAN and I want to make it polished. Thank you.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Testing CPAN module that requires credentials
by Anonymous Monk on Jan 07, 2012 at 08:39 UTC | |
by Marseille07 (Acolyte) on Jan 07, 2012 at 20:41 UTC | |
|
Re: Testing CPAN module that requires credentials
by VinsWorldcom (Prior) on Jan 07, 2012 at 13:38 UTC | |
by Marseille07 (Acolyte) on Jan 07, 2012 at 20:44 UTC | |
by DrHyde (Prior) on Jan 10, 2012 at 10:10 UTC | |
by Anonymous Monk on Jan 10, 2012 at 10:29 UTC | |
|
Re: Testing CPAN module that requires credentials
by tobyink (Canon) on Jan 10, 2012 at 12:59 UTC |