App::Y...ns::Run(3pm)
π App::Yath::Options::Run π
okay so bestie, real talk: this page is App::Yath::Options::Run(3pm), and it's literally just the corner of yath where all the command line options for a single test run get defined. like, one module. for the run options. it's giving organized π
πΈ NAME πΈ
App::Yath::Options::Run β run options for Yath. that's the whole name, no notes, periodt.
β¨ DESCRIPTION β¨
This is where command lines options for a single test run are defined. that's it, that's the vibe β this file is the master list of every knob you can twist for one run. π
π PROVIDED OPTIONS π
π οΈ COMMAND OPTIONS
π«Ά Run Options
--author-testing,-A,--no-author-testingβ sets theAUTHOR_TESTINGenvironment variable to true. that's it. that's the whole thing. π--dbi-profiling,--no-dbi-profilingβ pulls inTest2::Plugin::DBIProfileso you can collect database profiling data. watching your DB sweat? iconic. π₯--env-var VAR=VAL,-EVAR=VAL,-E VAR=VAL,--no-env-varβ sets environment variables that get set when each test is run.
Can be specified multiple times, bestie β stack 'em up. β¨
--event-uuids,--uuids,--no-event-uuidsβ usesTest2::Plugin::UUIDinside tests (default: on). yeah it's already on, it was on before you got here. π--fields name:details,--fields JSON_STRING,-f name:details,-f JSON_STRING,--no-fieldsβ adds custom data to the harness run.
Can be specified multiple times. β¨
--input ARG,--input=ARG,--no-inputβ an input string that gets used as standard input for ALL tests. see also:--input-file. all caps ALL, because it's every single one. π--input-file ARG,--input-file=ARG,--no-input-fileβ uses the specified file as standard input to ALL tests. again: ALL of them. π--io-events,--no-io-eventsβ usesTest2::Plugin::IOEventsinside tests to turn all prints into test2 events (default: off). β¨--link 'https://travis.work/builds/42',--link 'https://jenkins.work/job/42',--link 'https://buildbot.work/builders/foo/builds/42',--no-linkβ hands people one or more links they can follow to see more about this run. very "here's the receipts" of you. π«Ά
Can be specified multiple times.
--load ARG,--load=ARG,--load-module ARG,--load-module=ARG,-m ARG,-m=ARG,--no-loadβ loads a module in each test (after fork). heads up: theimportmethod is not called. π
Can be specified multiple times.
--load-import Module,--load-import Module=import_arg1,arg2,...,--loadim Module,--loadim Module=import_arg1,arg2,...,-M Module,-M Module=import_arg1,arg2,...,--no-load-importβ loads a module in each test (after fork). and this time, Import is called. π
Can be specified multiple times. If the same key is listed multiple times the value lists will be appended together. (yes, appended. the lists get merged, not replaced. no cap. π§)
--mem-usage,--no-mem-usageβ usesTest2::Plugin::MemUsageinside tests (default: on). π--retry ARG,--retry=ARG,-r ARG,-r=ARG,--no-retryβ runs any jobs that failed a second time. NOTE:--retry=1means failing tests will be attempted twice! read that again bestie, it's not "one retry", it's "run it again", so a total of two attempts. π--retry-isolated,--retry-iso,--no-retry-isolatedβ if true then any job retries will be done in isolation (as though-j1was set). just retries, alone, vibing. π¦--run-id,--id,--no-run-idβ sets a specific run-id. (Default: a UUID). yes you can override the UUID, you chaotic icon. β¨--test-args ARG,--test-args=ARG,--no-test-argsβ arguments to pass in as@ARGVfor all tests that are run. these can be provided easier using the'::'argument separator. (fr fr, use the separator.)
Can be specified multiple times.
--stream,--no-streamβ uses the stream formatter (default is on). π--tap,--TAP,----no-stream,--no-tapβ okay so. the TAP format is lossy and clunky. π«Test2::Harnessnormally uses a newer streaming format to receive test results. there are old/legacy tests where this causes problems, in which case setting--TAPor--no-streamcan help. that's the fix, that's the escape hatch. (and yes,----no-streamreally does have four dashes, we don't make the rules π )
π SOURCE π
The source code repository for Test2-Harness can be found at http://github.com/Test-More/Test2-Harness/. go look, it's right there. π
π MAINTAINERS π
Chad Granum <exodist@cpan.org>
πΈ AUTHORS πΈ
Chad Granum <exodist@cpan.org>
β 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/
okay that's the whole page, every single option, every default, every "can be specified multiple times", nothing skipped, nothing invented. π
and that's a wrap bestie β this page came to you courtesy of perl v5.40.1, dated 2026-05-10, and it is App::Yath::Options::Run(3pm) through and through. slay, go run some tests. πβ¨π«Ά
π¦ where this page comes from
- ubuntu stonking: libtest2-harness-perl 1.000172-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms