App::Y...llector(3pm)
๐ App::Yath::Command::collector ๐
okay bestie, so this is one of those pages that exists in the perl manual set โ it's shipped in the User Contributed Perl Documentation section, and its whole personality is... "for internal use only" ๐. That's the NAME, that's the vibe. Don't @ me.
๐ฆ DESCRIPTION
No Description.
Literally. That's it. That's the whole description. The maintainers said "no thoughts, head empty" and moved on. ๐ Which honestly? Iconic of them.
โจ USAGE โจ
$ yath [YATH OPTIONS] collector [COMMAND OPTIONS]
So it's a yath subcommand called collector, and it takes yath options and command options. Slay.
๐ธ YATH OPTIONS
Developer
--dev-lib,--dev-lib=lib,-D,-D=lib,-Dlib,--no-dev-libโ this one adds paths to@INCbefore loading ANYTHING. That's the move when you're developing yath itself, or yath plugins, and you need the yath script to grab your local code instead of the installed versions of the exact same code. You can hand it an argument (-Dfoo) for a custom path, or just go-Dwith no arg and it'll addlib,blib/libandblib/archfor you. ๐ซถ
Can be specified multiple times.
Environment
--persist-dir ARG,--persist-dir=ARG,--no-persist-dirโ tells yath 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. No project specified? It falls back to the current directory. Current directory not writable?? Then it defaults to/tmp/yath-persist.json, and bestie, that caps you at one persistent runner on your whole system. So like, plan accordingly. ๐ญ--project ARG,--project=ARG,--project-name ARG,--project-name=ARG,--no-projectโ gives you a label for your current project/codebase. Best used in a.yath.rcfile. And heads up: this is necessary for a persistent runner. no project, no persistent runner, that's the deal. ๐
Help and Debugging
--show-opts,--no-show-optsโ exits right after showing you what yath thinks your options mean. Receipts, basically. ๐งพ--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 allApp::Yath::Plugin::*modules so it can pull in whatever command-line options they provide. This flag disables all that. Super useful when 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. That's the whole job. โจ
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 ๐ฌ
Can be specified multiple times.
--cover-exclude-private,--no-cover-exclude-private,--cover-files,--no-cover-filesโ useTest2::Plugin::Coverto collect coverage data for what files get touched by what tests. UnlikeDevel::Cover, this has very little performance impact โ we're talking about a 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 the new jsonl format), or a URL pointing at any of the previous. And listen: tests will not be run if the file/url is invalid. So double check that path, bestie. โ ๏ธ--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 on its own, but when it can't, you gotta specify.jsonis old style single-blob coverage data,jsonlis the new by-test style, andlogis 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--cover-from: a test log, a coverage dump (old style json or new jsonl format), or a URL to any of those. BUT โ and this is the glow-up โ tests will continue even if the coverage file/url is invalid. Chill mode activated. ๐--cover-maybe-from-type json,--cover-maybe-from-type jsonl,--cover-maybe-from-type log,--no-cover-maybe-from-typeโ same asfrom_typebut formaybe_from. Defaults tofrom_typeif 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 ๐ญ
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. Heads up though: 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 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. Detective mode. ๐ต๏ธ
Help and Debugging
--dummy,-d,--no-dummyโ dummy run, doesn't actually execute anything. Pretend-play 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โ interactive mode: 1 test at a time, and stdin gets forwarded to it. ๐ซต--keep-dirs,--keep_dir,-k,--no-keep-dirsโ don't delete directories when done. Useful when you want to go poke around the directories various commands used. ๐--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. This makes it fail gracefully instead: you get a warning, but things keep on keeping on. ๐--yathui-long-duration 10,--no-yathui-long-durationโ minimum duration length (seconds) before a test goes from MEDIUM to LONG. โฑ๏ธ--yathui-medium-duration 5,--no-yathui-medium-durationโ 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โ set the upload mode. Default isqvfd. โจ--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โ the Yath-UI url.
๐ SOURCE
The source code repository for Test2-Harness can be found at http://github.com/Test-More/Test2-Harness/. Go star it bestie, it's giving open source royalty. ๐
๐ 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/
and that's the whole page, fr fr ๐ซถ this was perl v5.40.1, dated 2026-05-10, filed under the User Contributed Perl Documentation section. take care of her, she's mostly undocumented but she's doing her best ๐๐ธโจ
๐ฆ 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