Scroll to navigation

App::Yath::Options::Run(3pm) User Contributed Perl Documentation App::Yath::Options::Run(3pm)

NAME

App::Yath::Options::Run - Run options for Yath.

DESCRIPTION

This is where command lines options for a single test run are defined.

PROVIDED OPTIONS

COMMAND OPTIONS

Run Options

This will set the AUTHOR_TESTING environment to true
Use Test2::Plugin::DBIProfile to collect database profiling data
Set environment variables to set when each test is run.

Can be specified multiple times

Use Test2::Plugin::UUID inside tests (default: on)
Add custom data to the harness run

Can be specified multiple times

Input string to be used as standard input for ALL tests. See also: --input-file
Use the specified file as standard input to ALL tests
Use Test2::Plugin::IOEvents inside tests to turn all prints into test2 events (default: off)
https://jenkins.work/job/42'
https://buildbot.work/builders/foo/builds/42'
Provide one or more links people can follow to see more about this run.

Can be specified multiple times

Load a module in each test (after fork). The "import" method is not called.

Can be specified multiple times

Load a module in each test (after fork). Import is called.

Can be specified multiple times. If the same key is listed multiple times the value lists will be appended together.

Use Test2::Plugin::MemUsage inside tests (default: on)
Run any jobs that failed a second time. NOTE: --retry=1 means failing tests will be attempted twice!
If true then any job retries will be done in isolation (as though -j1 was set)
Set a specific run-id. (Default: a UUID)
Arguments to pass in as @ARGV for all tests that are run. These can be provided easier using the '::' argument separator.

Can be specified multiple times

Use the stream formatter (default is on)
The TAP format is lossy and clunky. Test2::Harness normally uses a newer streaming format to receive test results. There are old/legacy tests where this causes problems, in which case setting --TAP or --no-stream can help.

SOURCE

The source code repository for Test2-Harness can be found at http://github.com/Test-More/Test2-Harness/.

MAINTAINERS

AUTHORS

COPYRIGHT

Copyright 2020 Chad Granum <exodist7@gmail.com>.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

See http://dev.perl.org/licenses/

2023-03-12 perl v5.36.0