CleanCode Perl Libraries |
Home | Perl | Java | PowerShell | C# | SQL | Index | Tools | Download | What's New |
Multi-Lingual Library | Maintainability | ||||||||||||
Perl | Java | JavaScript | Certified Class |
Testable Class |
Standalone Mode |
Diagnostic Enabled |
libModTest.pl - Run command-line specified regression tests on a library.
libModTest.pl [ -ajphH ] className [ arg ]
Append to the output file instead of overwriting.
Treat the file as a Java source file (only needed if the class name does not have any periods in it.
Treat the file as a Perl source file (only needed if the class name does not have any double-colons in it.
Option help.
Long help (manual page).
Getopt::Std, Pod::Usage, File::Handy, Data::Handy
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.
None
Michael Sorens
$Revision: 8 $ $Date: 2006-12-19 21:13:43 -0800 (Tue, 19 Dec 2006) $
CleanCode 0.9
Test::Directory, bin::libFuncTest
Home | Perl | Java | PowerShell | C# | SQL | Index | Tools | Download | What's New |
CleanCode Perl Libraries | Copyright © 2001-2013 Michael Sorens - Revised 2013.06.30 |