NAME

agg - Test2::Aggregate harness wrapper / helper script

DESCRIPTION

Pass a list of Perl test files/directories and they will run aggregated via yath (or prove if specified). It is not meant to be used for .t files that use Test2::Aggregate themselves.

It is useful either to speed up a test run for tests you know can be aggregated, or to check whether specific tests can run successfully under Test2::Aggregate.

SYNOPSIS

agg [options] <file/dir1 ...>

Options:
--out <s>,          -o <s>  : Specify the test file to be created (tmp file by default).
--lists,            -l      : Use files specified as lists.
--prove,            -p      : Force prove (default is yath/Test2 if installed).
--verbose,          -v      : Verbose (passed to yath/prove)
--absolute,         -a      : Use absolute paths in generated files. Disabled with -r.
--include_regex <s> -ir <s> : Regex for test paths to include.
--exclude_regex <s> -er <s> : Regex for test paths to exclude.
--root <s>          -r <s>  : Define a custom root dir.
--include <s>,      -I <s>  : Library path to include (repeatable).
--test_warnings,    -w      : Fail tests on warnings.
--test_bundle <s>,  -t      : Test bundle (def: Test2::V0 or Test::More if -p). Comma-separated list.
--pass_output <s>,  -po <s> : Output directory for list of 100% passing tests.
--reverse                   : Reverse the test order.
--shuffle                   : Shuffle the test order.
--sort                      : Run the tests alphabetically.
--stats_output <s>, -so <s> : Stats output directory (does not combine with pass_output).
--help              -h      : Show basic help and exit.