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 the AUTHOR_TESTING environment variable to true. that's it. that's the whole thing. πŸ’…
  • --dbi-profiling, --no-dbi-profiling β€” pulls in Test2::Plugin::DBIProfile so 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 β€” uses Test2::Plugin::UUID inside 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 β€” uses Test2::Plugin::IOEvents inside 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: the import method 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 β€” uses Test2::Plugin::MemUsage inside tests (default: on). 🌈
  • --retry ARG, --retry=ARG, -r ARG, -r=ARG, --no-retry β€” runs any jobs that failed a second time. NOTE: --retry=1 means 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 -j1 was 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 @ARGV for 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::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. that's the fix, that's the escape hatch. (and yes, ----no-stream really 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 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