App::Y...eedtag(3pm)
π App::Y...eedtag π
okay bestie, gather round β this is the manual page for App::Y...eedtag(3pm), from User Contributed Perl Documentation. It's giving "yath but make it tags" and honestly? iconic. Let's get into it. π
πΈ NAME πΈ
App::Yath::Command::speedtag β tag tests with duration (short, medium, long) using a source log. That's the whole assignment. β¨
π¦ DESCRIPTION π¦
So here's the vibe: this command reads the test durations out of a log and then tags/retags all the tests from that log, based on the max durations for each type. Read the log, tag the tests, slay. π
π USAGE π
$ yath [YATH OPTIONS] speedtag [COMMAND OPTIONS]
β YATH OPTIONS β
π§βπ» Developer
--dev-lib,--dev-lib=lib,-D,-D=lib,-Dlib,--no-dev-libβ adds paths to@INCbefore loading ANYTHING. This is the one you use if you're developing yath or yath plugins, so the yath script finds your local code instead of the installed versions of that same code. You can hand it an argument (-Dfoo) for a custom path, or you can just use-Dwith no arg to 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. The default is/{system-tempdir}/project-yath-persist.json. If no project is specified then it falls back to the current directory. And if the current directory isn't writable, it defaults to/tmp/yath-persist.json, which limits you to one persistent runner on your system. One (1) runner, bestie, no sharing. π--project ARG,--project=ARG,--project-name ARG,--project-name=ARG,--no-projectβ lets you drop a label for your current project/codebase. Best used in a.yath.rcfile. This is necessary for a persistent runner, so don't skip it. π
π οΈ Help and Debugging
--show-opts,--no-show-optsβ exit after showing what yath thinks your options mean. Yes, it will tell you what it thinks you said. π--version,-V,--no-versionβ exit 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 bring in whatever command-line options they provide. This flag disables that. Super useful if you've got a naughty plugin that loads 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β load 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. Mix and match, you do you. β¨--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 π (not me leaving a FIX ME in the manpage, it's giving mystery)
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 are touched by what tests. UnlikeDevel::Cover, this has very little performance impact (about a 4% difference). 4%!! basically free, periodt. π--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 to 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β the 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, 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: a test log, a coverage dump (old style json or new jsonl format), or a url to any of the previous. But this one is chill β tests will continue even if the coverage file/url is invalid. π¦--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 auto-detect. π--cover-metrics,--no-cover-metrics,--cover-types ARG,--cover-types=ARG,--cover-type ARG,--cover-type=ARG,--no-cover-typesβ NO DESCRIPTION - FIX ME π (another FIX ME, the mystery continues)
Can be specified multiple times.
--cover-write,--cover-write=coverage.jsonl,--cover-write=coverage.json,--no-cover-writeβ create 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β find files changed by all commits in the current branch from most recent, stopping when a commit is found that is also present in the history of the branch/commit specified as the change base. β¨
π οΈ Help and Debugging
--dummy,-d,--no-dummyβ dummy run, do not actually execute anything. π«₯
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. Useful if you want to 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 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β 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β 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'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. π
π·οΈ speedtag options
--generate-durations-file,--generate-durations-file=/path/to/durations.json,--durations,--durations=/path/to/durations.json,--duration,--duration=/path/to/durations.json,--no-generate-durations-fileβ write out a duration json file. If no path is provided,'duration.json'will be used. The.jsonextension is added automatically if you omit it. β¨--pretty,--no-prettyβ generate a pretty'durations.json'file when combined with--generate-durations-file. (sorted and multilines) aesthetic af. π
π SOURCE π
The source code repository for Test2-Harness can be found at http://github.com/Test-More/Test2-Harness/. Go look, bestie. π¦
π‘οΈ 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, no cap. π
kisses, this was App::Y...eedtag(3pm) on perl v5.40.1, dated 2026-05-10 β run it, tag those tests, and have the best day~~ π
β¨
π¦ 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