in reply to What to test for in a module that returns a DB handle?

Test *whatever* stuff if user provides PERL_DISTNAME_LOGIN and PERL_DISTNAME_PASSWORD, otherwise skip trying to do stuff

See http://wiki.cpantesters.org/wiki/CPANAuthorNotes , use prompt of ExtUtils::MakeMaker to gracefully prompt for running interactive tests, it respects $ENV{AUTOMATED_TESTING}

  • Comment on Re: What to test for in a module that returns a DB handle?