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