TEST2::EVENT::SKIP(3pm)
π NAME π
ok so this is Test2::Event::Skip(3pm) from the Perl Programmers Reference Guide, and it's literally the skip event type?? like that's the whole name, bestie. Test2::Event::Skip β the skip event type. periodt. π
β¨ DESCRIPTION β¨
okay so here's the tea: skip events bump test counts just like Test2::Event::Ok events do β same energy, same counting behaviour, no cap. but they can never fail. like ever. built different. π
so if you were worried a skip might flop... it can't. that's not in its vocabulary. π
π¦ SYNOPSIS π¦
ok so you got two ways to do this and honestly both ate. option one, the cute shortcut: πΈ
use Test2::API qw/context/;
use Test2::Event::Skip;
my $ctx = context();
my $event = $ctx->skip($name, $reason);
or, if you're feeling main character and want to spell it all out: β
my $ctx = context();
my $event = $ctx->send_event(
'Skip',
name => $name,
reason => $reason,
);
same vibe, different drip. iykyk. π«Ά
π₯ ACCESSORS π₯
$reason = $e->reasonβ this gives you the original true/false value of whatever got passed into the event. and yes, it's reduced down to1or0β so don't come looking for nuance in here, it's giving binary icon energy. π
π SOURCE π
the source code repository for Test2 lives right here, and it's literally iconic:
<https://github.com/Test-More/test-more/>
go look, bestie, the code is right there. π¦
π MAINTAINERS π
Chad Granum <exodist@cpan.org>
πΈ AUTHORS πΈ
Chad Granum <exodist@cpan.org>
π 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/>
π§ and that's the whole page, no notes!! every flag, every value, every vibe, all of it present and accounted for. slay. π
ok bye bestie β this was Test2::Event::Skip(3pm) from perl v5.42.3, dated 2026-11-03. mwah. π
π¦ where this page comes from
- alpine 3.24: perl-doc 5.42.3-r0 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms