| App::Prove - Implements the C<prove> command. |
App::Prove - Implements the prove command.
Version 3.10
the Test::Harness manpage provides a command, prove, which runs a TAP based
test suite and prints a report. The prove command is a minimal
wrapper around an instance of this module.
use App::Prove;
my $app = App::Prove->new;
$app->process_args(@ARGV);
$app->run;
newCreate a new App::Prove. Optionally a hash ref of attribute
initializers may be passed.
add_rc_file
$prove->add_rc_file('myproj/.proverc');
Called before process_args to prepend the contents of an rc file to
the options.
process_args
$prove->process_args(@args);
Processes the command-line arguments. Attributes will be set
appropriately. Any filenames may be found in the argv attribute.
Dies on invalid arguments.
runPerform whatever actions the command line args specified. The prove
command line tool consists of the following code:
use App::Prove;
my $app = App::Prove->new;
$app->process_args(@ARGV);
$app->run;
require_harnessLoad a harness replacement class.
$prove->require_harness($for => $class_name);
print_versionDisplay the version numbers of the loaded the TAP::Harness manpage and the current Perl.
After command line parsing the following attributes reflect the values
of the corresponding command line switches. They may be altered before
calling run.
archiveargvbackwardsblibcolordirectivesdryexecfailuresforkformatterharnessincludesjobslibmergemodulesparsepluginsquietreally_quietrecurseshow_helpshow_manshow_versionshufflestatetaint_failtaint_warntest_argstimerverbosewarnings_failwarnings_warn| App::Prove - Implements the C<prove> command. |