App::Y...::kill(3pm)

๐Ÿ’– App::Y...::kill ๐Ÿ’–

okay bestie, welcome to the manual page for App::Y...::kill(3pm) โ€” straight out of the User Contributed Perl Documentation, and it is exactly what it sounds like. it kills things. slay. ๐Ÿฉธโœจ


๐ŸŽ€ NAME ๐ŸŽ€

App::Yath::Command::kill โ€” the yath command that kills the runner plus any tests that are currently running or just chilling in the pending queue. bye boo ๐Ÿ‘‹


๐Ÿฆ‹ DESCRIPTION ๐Ÿฆ‹

This command kills the active yath runner, and also any running or pending tests. that's the whole entire job description, no cap. one word and everything goes night-night ๐Ÿ’€๐Ÿ’ค


โœจ USAGE โœจ

$ yath [YATH OPTIONS] kill [COMMAND OPTIONS]

๐ŸŒธ YATH OPTIONS ๐ŸŒธ

๐Ÿ‘ฉโ€๐Ÿ’ป Developer ๐Ÿ‘ฉโ€๐Ÿ’ป

  • --dev-lib, --dev-lib=lib, -D, -D=lib, -Dlib, --no-dev-lib โ€” adds paths to @INC before loading ANYTHING. this is the one you reach for when you're developing yath or yath plugins and you need the yath script to find your local code instead of the installed versions of that same code. you can pass an argument (-Dfoo) to give it a custom path, or just rawdog -D with no argument and it'll add lib, blib/lib and blib/arch. Can be specified multiple times.

๐ŸŒ Environment ๐ŸŒ

  • --persist-dir ARG, --persist-dir=ARG, --no-persist-dir โ€” where to find persistence files.
  • --persist-file ARG, --persist-file=ARG, --pfile ARG, --pfile=ARG, --no-persist-file โ€” where to find the persistence file. the default is /{system-tempdir}/project-yath-persist.json. if no project is specified it falls back to the current directory. and if the current directory is not writable it defaults to /tmp/yath-persist.json, which unfortunately limits you to one persistent runner on your whole system ๐Ÿ˜ญ
  • --project ARG, --project=ARG, --project-name ARG, --project-name=ARG, --no-project โ€” lets you hand over a label for your current project/codebase. best used in a .yath.rc file. and honestly? it's necessary for a persistent runner, so don't skip it ๐Ÿ’…

๐Ÿ” Finder Options ๐Ÿ”

  • --finder MyFinder, --finder +Test2::Harness::Finder::MyFinder, --no-finder โ€” picks which Finder subclass gets used when searching for files / processing the file list. use the + prefix to give a fully qualified namespace, otherwise the Test2::Harness::Finder::XXX namespace is assumed.

๐Ÿ†˜ Help and Debugging ๐Ÿ†˜

  • --show-opts, --no-show-opts โ€” exits after showing you what yath thinks your options mean.
  • --version, -V, --no-version โ€” exits after showing a helpful usage message.

๐Ÿงฉ Plugins ๐Ÿงฉ

  • --no-scan-plugins, --no-no-scan-plugins โ€” normally yath scans for and loads every App::Yath::Plugin::* module so it can bring in whatever command-line options they provide. this flag disables that whole operation. super useful if you've got a naughty plugin that's loading other modules when it absolutely should not be ๐Ÿ‘€
  • --plugins PLUGIN, --plugins +App::Yath::Plugin::PLUGIN, --plugins PLUGIN=arg1,arg2,..., --plugin PLUGIN, --plugin +App::Yath::Plugin::PLUGIN, --plugin PLUGIN=arg1,arg2,..., -pPLUGIN, --no-plugins โ€” loads a yath plugin. Can be specified multiple times.

๐Ÿ’ซ COMMAND OPTIONS ๐Ÿ’ซ

๐Ÿ“Š Cover Options ๐Ÿ“Š

  • --cover-aggregator ByTest, --cover-aggregator ByRun, --cover-aggregator +Custom::Aggregator, --cover-agg ByTest, --cover-agg ByRun, --cover-agg +Custom::Aggregator, --no-cover-aggregator โ€” chooses a custom aggregator subclass.
  • --cover-class ARG, --cover-class=ARG, --no-cover-class โ€” chooses a Test2::Plugin::Cover subclass.
  • --cover-dirs ARG, --cover-dirs=ARG, --cover-dir ARG, --cover-dir=ARG, --no-cover-dirs โ€” NO DESCRIPTION - FIX ME Can be specified multiple times. (yes the docs really say that, i'm just the messenger bestie ๐Ÿ™ˆ)
  • --cover-exclude-private, --no-cover-exclude-private, --cover-files, --no-cover-files โ€” uses Test2::Plugin::Cover to collect coverage data for what files get touched by what tests. unlike Devel::Cover this has very little performance impact (about 4% difference) ๐Ÿƒโ€โ™€๏ธ
  • --cover-from path/to/log.jsonl, --cover-from http://example.com/coverage, --cover-from path/to/coverage.jsonl, --no-cover-from โ€” this can be a test log, a coverage dump (old style json or new jsonl format), or a url pointing at any of the previous. tests will not be run if the file/url is invalid ๐Ÿšซ
  • --cover-from-type json, --cover-from-type jsonl, --cover-from-type log, --no-cover-from-type โ€” file type for the coverage source. usually it can be detected, but when it can't you should specify. json is old style single-blob coverage data, jsonl is the new by-test style, log is a logfile from a previous run.
  • --cover-manager My::Coverage::Manager, --no-cover-manager โ€” the coverage 'from' manager to use when the coverage data doesn't provide one.
  • --cover-maybe-from path/to/log.jsonl, --cover-maybe-from http://example.com/coverage, --cover-maybe-from path/to/coverage.jsonl, --no-cover-maybe-from โ€” same deal as above, it can be a test log, a coverage dump (old style json or new jsonl format), or a url to any of those. but this one keeps going even if the coverage file/url is invalid. resilient queen โœจ
  • --cover-maybe-from-type json, --cover-maybe-from-type jsonl, --cover-maybe-from-type log, --no-cover-maybe-from-type โ€” same as from_type but for maybe_from. defaults to from_type if that's specified, otherwise it auto-detects.
  • --cover-metrics, --no-cover-metrics, --cover-types ARG, --cover-types=ARG, --cover-type ARG, --cover-type=ARG, --no-cover-types โ€” NO DESCRIPTION - FIX ME Can be specified multiple times.
  • --cover-write, --cover-write=coverage.jsonl, --cover-write=coverage.json, --no-cover-write โ€” creates a json or jsonl file of all the coverage data seen during the run (this implies --cover-files).

๐ŸŽจ Display Options ๐ŸŽจ

  • --color, --no-color โ€” turns color on. default is true if STDOUT is a TTY. ๐ŸŒˆ
  • --hide-runner-output, --no-hide-runner-output โ€” hides output from the runner, showing only test output. (see also truncate_runner_output)
  • --no-final-table, --no-no-final-table โ€” when printing final results, don't use the table-style display.
  • --no-wrap, --no-no-wrap โ€” doesn't do the fancy text-wrapping, lets the terminal handle it.
  • --progress, --no-progress โ€” toggles progress indicators. on by default if STDOUT is a TTY. you can use --no-progress to disable the 'events seen' counter and the buffered event pre-display.
  • --quiet, -q, --no-quiet โ€” be very quiet. ๐Ÿคซ Can be specified multiple times.
  • --renderers +My::Renderer, --renderers Renderer=arg1,arg2,..., --renderer +My::Renderer, --renderer Renderer=arg1,arg2,..., --no-renderers โ€” specifies renderers (default: Formatter=Test2). use + to give a fully qualified module name. without the +, Test2::Harness::Renderer:: gets prepended to your argument. Can be specified multiple times. if the same key is listed multiple times the value lists get appended together.
  • --show-times, -T, --no-show-times โ€” shows the timing data for each job โฑ๏ธ
  • --term-width 80, --term-width 200, --term-size 80, --term-size 200, --no-term-width โ€” alternative to setting $TABLE_TERM_SIZE. setting this overrides the terminal width detection to the number of characters you specified.
  • --truncate-runner-output, --no-truncate-runner-output โ€” only shows runner output that was generated after the current command. this is only useful with a persistent runner.
  • --verbose, -v, --no-verbose โ€” be more verbose. Can be specified multiple times.

๐Ÿ” Finder Options ๐Ÿ”

  • --changed path/to/file, --no-changed โ€” specifies one or more files as having been changed. Can be specified multiple times.
  • --changed-only, --no-changed-only โ€” only searches for tests for changed files. (requires a coverage data source, and also requires a list of changes either from the --changed option, or a plugin that implements changed_files() or changed_diff())
  • --changes-diff path/to/diff.diff, --no-changes-diff โ€” path to a diff file that should be used to find changed files for use with --changed-only. this must be in the same format as git diff -W --minimal -U1000000.
  • --changes-exclude-file path/to/file, --no-changes-exclude-file โ€” specifies one or more files to ignore when looking at changes. Can be specified multiple times.
  • --changes-exclude-loads, --no-changes-exclude-loads โ€” excludes coverage tests which only load changed files but never actually call code from them. (default: off)
  • --changes-exclude-nonsub, --no-changes-exclude-nonsub โ€” excludes changes outside of subroutines (perl files only). (default: off)
  • --changes-exclude-opens, --no-changes-exclude-opens โ€” excludes coverage tests which only open() changed files but never call code from them. (default: off)
  • --changes-exclude-pattern '(apple|pear|orange)', --no-changes-exclude-pattern โ€” ignores files matching this pattern when looking for changes. your pattern gets inserted unmodified into a $file =~ m/$pattern/ check. Can be specified multiple times.
  • --changes-filter-file path/to/file, --no-changes-filter-file โ€” specifies one or more files to check for changes. changes to other files will be ignored. Can be specified multiple times.
  • --changes-filter-pattern '(apple|pear|orange)', --no-changes-filter-pattern โ€” specifies a pattern for change checking. when only running tests for changed files, this limits which files get checked for changes. only files matching this pattern get checked. your pattern gets inserted unmodified into a $file =~ m/$pattern/ check. Can be specified multiple times.
  • --changes-include-whitespace, --no-changes-include-whitespace โ€” includes changed lines that are whitespace only. (default: off)
  • --changes-plugin Git, --changes-plugin +App::Yath::Plugin::Git, --no-changes-plugin โ€” what plugin should be used to detect changed files.
  • --default-at-search ARG, --default-at-search=ARG, --no-default-at-search โ€” specifies the default file/dir search when 'AUTHOR_TESTING' is set. defaults to './xt'. the default AT search is only used if no files were specified at the command line. Can be specified multiple times.
  • --default-search ARG, --default-search=ARG, --no-default-search โ€” specifies the default file/dir search. defaults to './t', './t2', and 'test.pl'. the default search is only used if no files were specified at the command line. Can be specified multiple times.
  • --durations file.json, --durations http://example.com/durations.json, --no-durations โ€” bestie, point this at a json file or a url that holds a hash where the keys are relative test filenames and the values are 'SHORT', 'MEDIUM', or 'LONG'. This will โœจoverrideโœจ the durations listed in the file headers. If the durations file or url doesn't work, an exception will be thrown. No silent vibes here. ๐Ÿ˜ค
  • --durations-threshold ARG, --durations-threshold=ARG, --Dt ARG, --Dt=ARG, --no-durations-threshold โ€” only go fetch duration data if you're running at least this many tests. Default is (-j value + 1). fr fr, small run = don't even bother checking. ๐Ÿ’…
  • --exclude-file t/nope.t, --no-exclude-file โ€” exclude a file from testing. ๐Ÿšซ Can be specified multiple times.
  • --exclude-list file.txt, --exclude-list http://example.com/exclusions.txt, --no-exclude-list โ€” point at a file or url with a new-line-separated list of test file names to exclude from testing. Start a line with a # and it's commented out (for compatibility with Test2::Aggregate list files, periodt). ๐Ÿ“ Can be specified multiple times.
  • --exclude-pattern t/nope.t, --no-exclude-pattern โ€” exclude a pattern from testing, matched using m/$PATTERN/. ๐ŸŽฏ Can be specified multiple times.
  • --extension ARG, --extension=ARG, --ext ARG, --ext=ARG, --no-extension โ€” tell it which test filename extensions are valid. Default: t and t2. ๐Ÿ‘‘ Can be specified multiple times.
  • --maybe-durations file.json, --maybe-durations http://example.com/durations.json, --no-maybe-durations โ€” point at a json file or url which has a hash of relative test filenames as keys, and 'SHORT', 'MEDIUM', or 'LONG' as values. This will override durations listed in the file headers. An exception will be thrown if the durations file or url does not work. ๐Ÿ“Š (okay so yes, the wording is literally identical to --durations up there โ€” I'm not making that up, that's what the page says, and we do not edit the sacred text ๐Ÿ’€)
  • --no-long, --no-no-long โ€” do NOT run tests that have their duration flag set to 'LONG'. bye long tests ๐Ÿ‘‹
  • --only-long, --no-only-long โ€” ONLY run tests that have their duration flag set to 'LONG'. long test stans rise ๐Ÿซถ
  • --rerun, --rerun=path/to/log.jsonl, --rerun=plugin_specific_string, --no-rerun โ€” re-run tests from a previous run, from a log file (or the last log file). Plugins can intercept this โ€” for example YathUIDB, which will grab a run UUID and derive the tests to re-run from that. ๐Ÿ”
  • --rerun-all, --rerun-all=path/to/log.jsonl, --rerun-all=plugin_specific_string, --no-rerun-all โ€” re-run all the tests from a previous run, from a log file (or the last log file). Plugins can intercept this, like YathUIDB grabbing a run UUID and deriving the tests to re-run from that. ๐Ÿ’ซ
  • --rerun-failed, --rerun-failed=path/to/log.jsonl, --rerun-failed=plugin_specific_string, --no-rerun-failed โ€” re-run the failed tests from a previous run, from a log file (or the last log file). Plugins can intercept this, e.g. YathUIDB snagging a run UUID and deriving the tests to re-run from it. ๐Ÿ˜ญ๐Ÿ”
  • --rerun-missed, --rerun-missed=path/to/log.jsonl, --rerun-missed=plugin_specific_string, --no-rerun-missed โ€” run the missed tests from a previously aborted/stopped run, from a log file (or the last log file). Plugins can intercept this โ€” you know the drill, YathUIDB grabs a run UUID and derives tests to re-run from that. ๐Ÿ™ˆ
  • --rerun-modes failed,missed,..., --rerun-modes all, --rerun-modes failed, --rerun-modes missed, --rerun-modes passed, --rerun-modes retried, --rerun-mode failed,missed,..., --rerun-mode all, --rerun-mode failed, --rerun-mode missed, --rerun-mode passed, --rerun-mode retried, --no-rerun-modes โ€” pick which test categories to run. ๐ŸŽ›๏ธ Can be specified multiple times.
  • --rerun-passed, --rerun-passed=path/to/log.jsonl, --rerun-passed=plugin_specific_string, --no-rerun-passed โ€” re-run the passed tests from a previous run, from a log file (or the last log file). Plugins can intercept this, such as YathUIDB, which will grab a run UUID and derive tests to re-run from that. โœ…
  • --rerun-plugin Foo, --rerun-plugin +App::Yath::Plugin::Foo, --no-rerun-plugin โ€” which plugin(s) should be used for rerun. It will fallback to other plugins if the listed ones decline the value; this is just used to set an order of priority. ๐Ÿงš Can be specified multiple times.
  • --rerun-retried, --rerun-retried=path/to/log.jsonl, --rerun-retried=plugin_specific_string, --no-rerun-retried โ€” re-run the retried tests from a previous run, from a log file (or the last log file). Plugins can intercept this, like YathUIDB grabbing a run UUID and deriving the tests to re-run from that. ๐Ÿ”„
  • --search ARG, --search=ARG, --no-search โ€” a list of tests and test directories to use instead of the default search paths. Typically you can just list these as plain command line arguments without the --search prefix, iykyk. ๐Ÿ” Can be specified multiple times.
  • --show-changed-files, --no-show-changed-files โ€” print a list of changed files if any are found. ๐Ÿ“ƒ

โœจ Formatter Options โœจ

  • --formatter ARG, --formatter=ARG, --no-formatter โ€” NO DESCRIPTION - FIX ME. not me reading the manpage and the manpage says fix me ๐Ÿ˜ญ that's literally what it says bestie, I can't invent lore.
  • --qvf, --no-qvf โ€” [Q]uiet, but [V]erbose on [F]ailure. Hide ALL the output from tests when they pass, except to say they passed. If a test fails, then ALL the output from that test gets verbosely dumped out. ๐Ÿคซโžก๏ธ๐Ÿ“ข
  • --show-job-end, --no-show-job-end โ€” show output when a job ends. (Default: on) ๐Ÿ
  • --show-job-info, --no-show-job-info โ€” show the job configuration when a job starts. (Default: off, unless -vv) โš™๏ธ
  • --show-job-launch, --no-show-job-launch โ€” show output for the start of a job. (Default: off unless -v) ๐Ÿš€
  • --show-run-info, --no-show-run-info โ€” show the run configuration when a run starts. (Default: off, unless -vv) ๐Ÿ“‹

๐ŸŒˆ Git Options ๐ŸŒˆ

  • --git-change-base master, --git-change-base HEAD^, --git-change-base df22abe4, --no-git-change-base โ€” find files changed by all the commits in the current branch, starting from the most recent and stopping when a commit is found that's also present in the history of the branch/commit you specified as the change base. ๐Ÿงฌ

๐Ÿ› ๏ธ Help and Debugging ๐Ÿ› ๏ธ

  • --dummy, -d, --no-dummy โ€” dummy run, do NOT actually execute anything. Pretend mode, main character energy only. ๐ŸŽญ Can also be set with the following environment variables: T2_HARNESS_DUMMY
  • --help, -h, --no-help โ€” exit after showing help information. ๐Ÿ†˜
  • --interactive, -i, --no-interactive โ€” use interactive mode, 1 test at a time, stdin forwarded to it. ๐ŸŽฎ
  • --keep-dirs, --keep_dir, -k, --no-keep-dirs โ€” do not delete directories when done. Super useful if you wanna go inspect the directories used for various commands. ๐Ÿ”Ž
  • --procname-prefix ARG, --procname-prefix=ARG, --no-procname-prefix โ€” add a prefix to all proc names (as seen by ps). ๐Ÿท๏ธ
  • --summary, --summary=/path/to/summary.json, --no-summary โ€” write out a summary json file; if no path is provided, 'summary.json' will be used. The .json extension is added automatically if you omit it. ๐Ÿ“ฆ

๐Ÿ“ Logging Options ๐Ÿ“

  • --bzip2, --bz2, --bzip2_log, -B, --no-bzip2 โ€” use bzip2 compression when writing the log. This option implies -L. The .bz2 prefix is added to the log file name for you. ๐Ÿ—œ๏ธ
  • --gzip, --gz, --gzip_log, -G, --no-gzip โ€” use gzip compression when writing the log. This option implies -L. The .gz prefix is added to the log file name for you. ๐Ÿ—œ๏ธโœจ
  • --log, -L, --no-log โ€” turn on logging. ๐Ÿชต
  • --log-dir ARG, --log-dir=ARG, --no-log-dir โ€” specify a log directory. It'll fall back to the system temp dir. ๐Ÿ“
  • --log-file ARG, --log-file=ARG, -F ARG, -F=ARG, --no-log-file โ€” specify the name of the log file. This option implies -L. ๐Ÿ“„
  • --log-file-format ARG, --log-file-format=ARG, --lff ARG, --lff=ARG, --no-log-file-format โ€” specify the format for automatically-generated log files. Overridden by --log-file, if given. This option implies -L. Default: \$YATH_LOG_FILE_FORMAT, if that is set, or else "%!P%Y-%m-%d~%H:%M:%S~%!U~%!p.jsonl". This is a string in which percent-escape sequences will be replaced as per POSIX::strftime. The following special escape sequences are also replaced too: (%!P : Project name followed by a ~, if a project is defined, otherwise empty string) (%!U : the unique test run ID) (%!p : the process ID) (%!S : the number of seconds since local midnight UTC). ๐Ÿ•ฐ๏ธ Can also be set with the following environment variables: YATH_LOG_FILE_FORMAT, TEST2_HARNESS_LOG_FORMAT

๐Ÿ”” Notification Options ๐Ÿ””

  • --notify-email foo@example.com, --no-notify-email โ€” email the test results to the specified email address(es). ๐Ÿ“ง Can be specified multiple times.
  • --notify-email-fail foo@example.com, --no-notify-email-fail โ€” email failing results to the specified email address(es). ๐Ÿ’”๐Ÿ“ง Can be specified multiple times.
  • --notify-email-from foo@example.com, --no-notify-email-from โ€” if any email is sent, this is who it will be from. โœ‰๏ธ
  • --notify-email-owner, --no-notify-email-owner โ€” email the owner of broken test files upon failure. Add # HARNESS-META-OWNER foo@example.com to the top of a test file to give it an owner. ๐Ÿ‘ค
  • --notify-no-batch-email, --no-notify-no-batch-email โ€” usually owner failures are sent as a single batch at the end of testing. Toggle this to send failures as they happen. โšก
  • --notify-no-batch-slack, --no-notify-no-batch-slack โ€” usually owner failures are sent as a single batch at the end of testing. Toggle this to send failures as they happen. โšก
  • --notify-slack '#foo', --notify-slack '@bar', --no-notify-slack โ€” send results to a slack channel and/or user. ๐Ÿ’ฌ Can be specified multiple times.
  • --notify-slack-fail '#foo', --notify-slack-fail '@bar', --no-notify-slack-fail โ€” send failing results to a slack channel and/or user. ๐Ÿ’ฌ๐Ÿ’€ Can be specified multiple times.
  • --notify-slack-owner, --no-notify-slack-owner โ€” send slack notifications to the slack channels/users listed in test meta-data when tests fail. ๐Ÿซถ
  • --notify-slack-url https://hooks.slack.com/..., --no-notify-slack-url โ€” specify an API endpoint for slack webhook integrations. ๐Ÿ”—
  • --notify-text ARG, --notify-text=ARG, --message ARG, --message=ARG, --msg ARG, --msg=ARG, --no-notify-text โ€” add a custom text snippet to email/slack notifications. โœ๏ธ
  • --notify-text-module ARG, --notify-text-module=ARG, --message_module ARG, --message_module=ARG, --no-notify-text-module โ€” use the specified module to generate messages for emails and/or slack. ๐Ÿงฉ

๐Ÿƒ Run Options ๐Ÿƒ

  • --author-testing, -A, --no-author-testing โ€” flips the AUTHOR_TESTING environment variable to true. Author tests, we see you, we love you ๐Ÿ’–
  • --dbi-profiling, --no-dbi-profiling โ€” pulls in Test2::Plugin::DBIProfile so you get database profiling data. Query tea, served hot ๐Ÿ“
  • --env-var VAR=VAL, -EVAR=VAL, -E VAR=VAL, --no-env-var โ€” sets environment variables that get set every time a test runs.

Can be specified multiple times ๐Ÿ”

  • --event-uuids, --uuids, --no-event-uuids โ€” uses Test2::Plugin::UUID inside the tests (default: on). Unique IDs for every event, so slay โœจ
  • --fields name:details, --fields JSON_STRING, -f name:details, -f JSON_STRING, --no-fields โ€” adds custom data to the harness run. Sprinkle your own metadata on top, it's giving garnish ๐ŸŽ€

Can be specified multiple times ๐Ÿ”

  • --input ARG, --input=ARG, --no-input โ€” a string that gets used as standard input for ALL tests. See also: --input-file.
  • --input-file ARG, --input-file=ARG, --no-input-file โ€” uses that file as standard input for ALL tests ๐Ÿ“„
  • --io-events, --no-io-events โ€” uses Test2::Plugin::IOEvents inside the 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 learn more about this run. Go ahead and drop that build URL, bestie ๐Ÿ”—

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 every test (after fork). Heads up though: 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 every 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.

  • --mem-usage, --no-mem-usage โ€” uses Test2::Plugin::MemUsage inside the tests (default: on). Memory check, no cap ๐Ÿง 
  • --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! Like, two whole times. Read that again bestie ๐Ÿ˜ญ
  • --retry-isolated, --retry-iso, --no-retry-isolated โ€” if true, then any job retries get done in isolation (as though -j1 was set). One at a time, very demure ๐ŸŽ€
  • --run-id, --id, --no-run-id โ€” sets a specific run-id. (Default: a UUID)
  • --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.

Can be specified multiple times ๐Ÿ”

  • --stream, --no-stream โ€” uses the stream formatter (default is on) ๐Ÿ“ก
  • --tap, --TAP, ----no-stream, --no-tap โ€” okay so real talk: 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 ๐Ÿ’€

๐Ÿ’… YathUI Options ๐Ÿ’…

  • --yathui-api-key ARG, --yathui-api-key=ARG, --no-yathui-api-key โ€” Yath-UI API key. This is not necessary if your Yath-UI instance is set to single-user ๐Ÿ”‘
  • --yathui-coverage, --no-yathui-coverage โ€” polls coverage data from Yath-UI to figure out what tests should be run for changed files ๐Ÿ‘€
  • --yathui-durations, --no-yathui-durations โ€” polls duration data from Yath-UI to help order the tests efficiently โฑ๏ธ
  • --yathui-grace, --no-yathui-grace โ€” if yath cannot connect to yath-ui it normally throws an error; use this to make it fail gracefully. You get a warning, but things keep going ๐Ÿซถ
  • --yathui-long-duration 10, --no-yathui-long-duration โ€” the minimum duration length (seconds) before a test goes from MEDIUM to LONG
  • --yathui-medium-duration 5, --no-yathui-medium-duration โ€” the minimum duration length (seconds) before a test goes from SHORT to MEDIUM
  • --yathui-mode summary, --yathui-mode qvf, --yathui-mode qvfd, --yathui-mode complete, --no-yathui-mode โ€” sets the upload mode (default 'qvfd')
  • --yathui-project ARG, --yathui-project=ARG, --no-yathui-project โ€” the Yath-UI project for your test results ๐Ÿ—‚๏ธ
  • --yathui-retry, --no-yathui-retry โ€” how many times to try an operation before giving up

Can be specified multiple times ๐Ÿ”

๐Ÿšง NO CATEGORY - FIX ME ๐Ÿšง

  • --check-reload-state, --no-check-reload-state โ€” aborts the run if there are unfixed reload errors, and shows a confirmation dialogue for unfixed reload warnings. Yes the section name is literally that, we're keeping it, iconic behavior honestly ๐Ÿ™ˆ

๐Ÿฆ‹ SOURCE ๐Ÿฆ‹

The source code repository for Test2-Harness can be found at http://github.com/Test-More/Test2-Harness/. Go star it, bestie โญ

๐Ÿ‘‘ MAINTAINERS ๐Ÿ‘‘

Chad Granum <exodist@cpan.org>

๐ŸŒˆ AUTHORS ๐ŸŒˆ

Chad Granum <exodist@cpan.org>

Copyright 2026 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 literally the whole page, you made it to the end, I'm so proud of you ๐Ÿฅน๐Ÿ’– this one's living in perl v5.40.1, dated 2026-05-10, filed under App::Y...::kill(3pm) in the User Contributed Perl Documentation era โ€” touch grass, read a manpage, slay ๐Ÿ’…โœจ

๐Ÿ“ฆ where this page comes from