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 @INC before 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 -D with no arg and it'll add lib, blib/lib and blib/arch for 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.rc file. 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 all App::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 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.

  • --cover-exclude-private, --no-cover-exclude-private, --cover-files, --no-cover-files โ€” use Test2::Plugin::Cover to collect coverage data for what files get touched by what tests. Unlike Devel::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. json is old style single-blob coverage data, jsonl is the new by-test style, and 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 --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 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 ๐Ÿ˜ญ

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 by ps). ๐Ÿท๏ธ

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 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.


๐ŸŒŸ 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 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