From Test::Simple to Test::Extreme - Bonus Material 54

Testing your Tests

  • Devel::Cover

    • reports on how much of your program was run by a test or a series of tests:

          $ perl -MDevel::Cover module.t
          $ perl -MDevel::Cover *.t
      
    • prerequisites: perl 5.6.1

  • Pod::Coverage Checks if the documentation of a module is comprehensive

    • there should be a pod item or head for every sub in your code. Test it with:

          $ perl -MPod::Coverage=My::Module -e1
      
    • prerequisites: perl 5.6.1, Devel::Symdump

 

YAPC::CA << Previous | Index | Next >>
Copyright © 2003 Michael Graham