NAME

test.pl - Runs tests

SYNOPSIS

test.pl [options] -- [testfiles]

OPTIONS

-verbose

More information will be displayed during processing. This might not be necessary due to the verbosity of the actual test data.

-testdir

This is the test directory in which test.pl will look for test files (files ending on .t. If not given t/ will be assumed.

-simple

The simple flag sets test.pl to run Test::Simple script to be run so their own information is displayed (normally suppressed by Test::Harness). Test::Simple scripts do also work under Test::Harness.

-help

Prints a brief help message and exits.

-man

Prints the manual page and exits.

DESCRIPTION

This program will read the given input file(s) and run any tests in these.

So write your normal test files using Test or Test::Simple. This script gives you a more flexible interface to testing during development. You can tell the script what directory your tests are in (-testdir). You can specify whether you want to have Test::Simple output (I need to takes this with Michael Schwern at some point). Or you can specify which test files you want processed by listing them after the options (--).

So all you need to do is follow the normal Perl test writing conventions and then abuse this tool.

AUTHOR

jonasbn <jonasbn@wanadoo.dk>

BUGS

No known bugs.

SEE ALSO

Test::Simple
Test::Harness

COPYRIGHT

Copyright (c) 2001 Jonas B. Nielsen. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.