Matthew Simon Cavalletto

NAME

test.pl - Test harness with recursive directory search

SUMMARY

  make test

  perl test.pl

  perl test.pl [DIRECTORY|FILENAME|FILEGLOB]*

DESCRIPTION

Performs a recursive directory search for files ending in .t, starting from the current directory or from the paths specified on the command line, and then runs them using Test::Harness.

CAUTION

This is a test harness, not a test script.

MakeMaker checks for the presence of a test harness named test.pl and if present adds code to the test target to run it. Do NOT add this to the test scripts used by a Makefile.PL (using test = { TESTS => 'test.pl' }>). Do NOT create a directory named t/ or else MakeMaker will also attempt to run those test scripts itself.

CREDITS AND COPYRIGHT

Author

Developed by Matthew Simon Cavalletto at Evolution Softworks. More free Perl software is available at www.evoscript.org.

You may contact the author directly at evo@cpan.org or simonm@cavalletto.org.

Thanks To

Developed with the assistance of the Perl Monks community; my thanks in particular to PodMaster, chromatic, BrowserUk, and Murat.

Copyright 2004 Matthew Simon Cavalletto.

License

You may use, modify, and distribute this software under the same terms as Perl.