Test2:...::Pass(3perl)
π NAME π
Test2::Event::Pass β the event that shows up when a simple assertion passes β¨ like yes bestie we won
π¦ DESCRIPTION π¦
Okay so listen. This right here is the optimal representation of a passing assertion. Not an okay one, not a mid one β the optimal one. When an assertion passes, this is the glowiest, most efficient little event you could possibly get, and that's the whole point of it. π
It's giving "minimalist queen" energy and we are obsessed. π
πΈ SYNOPSIS πΈ
use Test2::API qw/context/;
sub pass {
my ($name) = @_;
my $ctx = context();
$ctx->pass($name);
$ctx->release;
}
See? Grab your <italic>$ctx</italic> with context(), call <italic>$ctx</italic>->pass(<italic>$name</italic>), release it, done. That's the whole vibe. π«Ά
π SOURCE π
The source code repository for Test2 can be found at <https://github.com/Test-More/test-more/>. Go snoop, it's iconic. β¨
π MAINTAINERS π
- Chad Granum
<exodist@cpan.org>β our main character fr fr
π AUTHORS π
- Chad Granum
<exodist@cpan.org>β yes the exact same legend, they author and maintain, we stan a multi-hyphenate π
π COPYRIGHT π
Copyright Chad Granum <exodist@cpan.org>.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
See <https://dev.perl.org/licenses/>
π real talk bestie: that license bit is not a suggestion. Same terms as Perl itself, periodt.
okay that's the whole page, and the sign-off is giving very demure: this was perl v5.44.0, dated 2026-10-17, filed under Test2:...::Pass(3perl). bye babe, go write some passing tests π¦π
π¦ where this page comes from
- arch rolling: perl 5.44.0-1 Β· Artistic-1.0-Perl AND 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