CleanCode Perl Libraries
Multi-Lingual Library Maintainability
available: Perl not available: Java not available: JavaScript not available: Certified
Class
not available: Testable
Class
not available: Standalone
Mode
not available: Diagnostic
Enabled

NAME

libModTest.pl - Run command-line specified regression tests on a library.

SYNOPSIS

libModTest.pl [ -ajphH ] className [ arg ]

OPTIONS

-a

Append to the output file instead of overwriting.

-j

Treat the file as a Java source file (only needed if the class name does not have any periods in it.

-p

Treat the file as a Perl source file (only needed if the class name does not have any double-colons in it.

-h

Option help.

-H

Long help (manual page).

REQUIRES

Getopt::Std, Pod::Usage, File::Handy, Data::Handy

DESCRIPTION

Invokes the Test subclass of the specified className repeatedly with all available arguments. Alternately, if you explicitly specify an argument on the command-line, only that test is run. For either Perl or Java, the main function of the subclass is invoked to run the test.

If your className is not a top-level class, the program can identify whether you are specifying a Java class (e.g. com.cleancode.data.Diagnostic) or a Perl class (e.g. Data::Diagnostic). For top-level classes, you must specify the '-j' flag for Java or the '-p' flag for Perl.

The list of available arguments is obtained by calling main with a "?LIST" argument.

Output is stored in javatest.log or perltest.log.

BUGS

None

AUTHOR

Michael Sorens

VERSION

$Revision: 8 $ $Date: 2006-12-19 21:13:43 -0800 (Tue, 19 Dec 2006) $

SINCE

CleanCode 0.9

SEE ALSO

Test::Directory, bin::libFuncTest


CleanCode Perl Libraries Copyright © 2001-2013 Michael Sorens - Revised 2013.06.30 Get CleanCode at SourceForge.net. Fast, secure and Free Open Source software downloads