require_harness

print_version

Display the version numbers of the loaded TAP::Harness and the current Perl.

Attributes

After command line parsing the following attributes reflect the values of the corresponding command line switches. They may be altered before calling run.

archive

argv

backwards

blib

color

directives

dry

exec

extensions

failures

comments

formatter

harness

ignore_exit

includes

jobs

lib

merge

modules

parse

plugins

quiet

really_quiet

recurse

rules

show_count

show_help

show_man

show_version

shuffle

state

state_class

taint_fail

taint_warn

test_args

timer

verbose

warnings_fail

warnings_warn

tapversion

trap

PLUGINS

App::Prove provides support for 3rd-party plugins. These are currently loaded at run-time, after arguments have been parsed (so you can not change the way arguments are processed, sorry), typically with the -Pplugin switch, eg:

prove -PMyPlugin

This will search for a module named App::Prove::Plugin::MyPlugin, or failing that, MyPlugin. If the plugin can't be found, prove will complain & exit.

You can pass an argument to your plugin by appending an = after the plugin name, eg -PMyPlugin=foo. You can pass multiple arguments using commas:

prove -PMyPlugin=foo,bar,baz

These are passed in to your plugin's load() class method (if it has one), along with a reference to the App::Prove object that is invoking your plugin: