App::Y...reload(3pm)
π NAME π
App::Yath::Command::reload β no cap, this is the command that goes "bestie, wake up and re-read your config" to the persistent test runner. This page is App::Y...reload(3pm) from the User Contributed Perl Documentation collection, and it's short, sweet, and honestly iconic for it. π¦
β¨ DESCRIPTION β¨
Okay so bestie, here's the whole vibe: this command sends a SIGHUP to the persistent runner, which forces it to reload. That's it. That's the main character move. π₯
And bonus: it also clears the blacklist, which means all the preloads get to load like normal again. Fresh start energy. π
π USAGE π
$ yath [YATH OPTIONS] reload [COMMAND OPTIONS]
π YATH OPTIONS π
π Developer
--dev-lib,--dev-lib=lib,-D,-D=lib,-Dlib,--no-dev-libβ this one slaps paths into@INCbefore ANYTHING else loads. It's your go-to when you're developing yath itself or yath plugins, because it makes theyathscript find your local code instead of whatever installed version of the same code is hanging around being basic. You can hand it an argument (-Dfoo) for a custom path, or just rawdog it with-Dand no arg and it'll addlib,blib/libandblib/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. 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 isn't writable, it defaults to/tmp/yath-persist.json, which lowkey limits you to one persistent runner on your whole system. π--project ARG,--project=ARG,--project-name ARG,--project-name=ARG,--no-projectβ lets you slap a label on your current project/codebase. Best used in a.yath.rcfile, and fr fr it's necessary if you want a persistent runner. π
π Help and Debugging
--show-opts,--no-show-optsβ bails out 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 everyApp::Yath::Plugin::*module so it can bring in whatever command-line options they want to provide. This flag turns that off entirely. Super useful if you've got a naughty little plugin that keeps loading other modules when it absolutely should not. π--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β choose a custom aggregator subclass.--cover-class ARG,--cover-class=ARG,--no-cover-classβ choose aTest2::Plugin::Coversubclass.--cover-dirs ARG,--cover-dirs=ARG,--cover-dir ARG,--cover-dir=ARG,--no-cover-dirsβ NO DESCRIPTION - FIX ME (yes literally, nobody wrote this one yet π someone please adopt it)
Can be specified multiple times
--cover-exclude-private,--no-cover-exclude-private,--cover-files,--no-cover-filesβ usesTest2::Plugin::Coverto collect coverage data on what files get touched by what tests. Unlike Devel::Cover this has like, very little performance impact (about 4% difference, that's nothing bestie). β¨--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. Heads up: tests will not 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 auto-detected, but when it can't, you gotta say it yourself.<pink>"json"</pink>is old style single-blob coverage data,<pink>"jsonl"</pink>is the new by-test style, and<pink>"log"</pink>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 (test log, coverage dump in old json or new jsonl format, or a url to any of those), except tests will continue even if the coverage file/url is invalid. Chill mode. π--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 one'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 (again!! the mystery option π)
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 coverage data seen during the run. (This implies--cover-files.) π
π· Git Options
--git-change-base master,--git-change-base HEAD^,--git-change-base df22abe4,--no-git-change-baseβ finds files changed by all commits in the current branch, starting from the most recent and stopping when it hits a commit 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, doesn't actually execute anything. π«₯
Can also be set with the following environment variables: T2_HARNESS_DUMMY
--help,-h,--no-helpβ exits after showing help information.--interactive,-i,--no-interactiveβ interactive mode, one test at a time, with stdin forwarded to it. Very hands-on, very main character. π--keep-dirs,--keep_dir,-k,--no-keep-dirsβ don't delete directories when done. Super handy if you want to go snooping through the directories used by various commands.--procname-prefix ARG,--procname-prefix=ARG,--no-procname-prefixβ adds a prefix to all proc names (as seen byps).
π· YathUI Options
--yathui-api-key ARG,--yathui-api-key=ARG,--no-yathui-api-keyβ Yath-UI API key. Not necessary if your Yath-UI instance is set to single-user.--yathui-grace,--no-yathui-graceβ normally if yath can't connect to yath-ui it throws an error. Use this to make it fail gracefully instead. You get a warning, but things keep on going. πΈ--yathui-long-duration 10,--no-yathui-long-durationβ minimum duration length (in seconds) before a test goes from MEDIUM to LONG.--yathui-medium-duration 5,--no-yathui-medium-durationβ minimum duration length (in 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 is'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
--yathui-url http://my-yath-ui.com/...,--uri http://my-yath-ui.com/...,--no-yathui-urlβ Yath-UI url.
π§ SOURCE π§
The source code repository for Test2-Harness lives at http://github.com/Test-More/Test2-Harness/. Go star it, it deserves it. β
π MAINTAINERS π
Chad Granum <exodist@cpan.org>
π AUTHORS π
Chad Granum <exodist@cpan.org>
π COPYRIGHT π
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/
That's the whole page bestie, you ate it. π
And for the cute sign-off: this doc is from perl v5.40.1, dated 2026-05-10, and it's your girl App::Y...reload(3pm) signing off β go reload something, periodt. π¦β¨
π¦ 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