Test2:...::Test2(3pm)
πΈ NAME πΈ
Test2::Formatter::Test2 β it's an alternative to TAP, bestie, and Test2::Harness uses it. That's the whole vibe.
π DESCRIPTION π
Okay so picture this: this formatter is the primary formatter for final result rendering whenever you're running Test2::Harness. Main character energy, fr.
But here's the thing you gotta know β and I need you to actually hear me on this one β this formatter is NOT designed to have its output consumed by code, or machines, or other harnesses. Nope. Not the assignment. π ββοΈ
The whole entire goal of this formatter is output that's easily read by humans. That's it. That's the dream. Your eyes, bestie. Not a parser's. πβ¨
π SYNOPSIS π
So if you're running a test directly with perl and you're like "yeah I want this formatter," you'd do:
$ perl -MTest2::Formatter::Test2 path/to/test.t
And likeβ¦ you could also use the module directly inside your test? Technically? But ngl, that is not recommended, because then your test would be unable to be run via prove or other harnesses. So like, don't do that. π
β οΈ Big sister warning: using the module directly in your test = your test can't be run by prove or other harnesses. Lowkey a trap. Don't fall for it.
π¦ SOURCE π¦
The source code repository for Test2-Harness is literally right here:
http://github.com/Test-More/Test2-Harness/
Go look at it, it's giving open source π
π MAINTAINERS π
- Chad Granum
<exodist@cpan.org>β carrying the whole thing on their back, iconic
β¨ AUTHORS β¨
- Chad Granum
<exodist@cpan.org>β yes, same person, yes, they did that π«Ά
π COPYRIGHT π
Copyright 2020 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 the whole page, periodt. π This was Test2:...::Test2(3pm) from the User Contributed Perl Documentation, shipped with perl v5.40.1, dated 2026-05-10. Love that for us. Byeee πβ¨
π¦ 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