Automated Testing - Ad-Infinitum

  • Don't loop endlessly for input
  • After two attempts use a default or bail out
  • Don't loop endlessly when system commands fail
  • Do system commands return a 'usage' string?
  • Some options are not supported on all OSs
  • use ENV settings
  • Use command line switches and/or arguments
  • Use defaults and/or skip appropriate tests

CPAN::YACSmoke

$ENV{AUTOMATED_TESTING} == 1