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

Testing your Module Distribution

  • Test::Pod - check for POD errors in files

  • Test::Distribution - perform tests on all modules of a distribution

    • include this one line script in your distribution:

          use Test::Distribution;
      
    • it will verify that all modules in your distribution compile and have the same $VERSION number

    • prerequisites: IO::Handle, overload, Symbol

  • Test::Manifest - interact with a t/test_manifest file

    • utility to change the order in which your tests are run in a CPAN distribution.

    • no t/lib requirement

  • Test::Signature - Verify module signatures

    • see also Module::Signature

    • verify the signature for your module has been updated

          # This is actually the t/00signature.t
          # file from this distribution.
          use Test::More tests => 1;
          use Test::Signature;
      
          signature_ok();
      

 

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