Test2::...eOnFail(3pm)
okay bestie, you're looking at the manual page for Test2::...eOnFail(3pm) from the Perl Programmers Reference Guide β yes, the header truncates the name like that, iconic π
.
β¨ NAME β¨
Test2::Plugin::DieOnFail β Automatically die on the first test failure. That's the whole vibe: first fail, and boom, the module says βwe're done hereβ π.
π DESCRIPTION π
Bestie, this module will die after the first test failure. This will prevent your tests from continuing β no more chugging along after a fail. The exception is thrown when the context is released, which is to say it will run when the test function you are using, such as ok(), returns. That timing gives the tools the ability to output any extra diagnostics they may need. Periodt β¨.
π¦ SYNOPSIS π¦
Here's the little demo, exactly as it appears:
use Test2::V0;
use Test2::Plugin::DieOnFail;
ok(1, "pass");
ok(0, "fail");
ok(1, "Will not run");
πΈ SOURCE πΈ
The source code repository for Test2-Suite can be found at https://github.com/Test-More/test-more/.
π 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 http://dev.perl.org/licenses/.
π that's the whole page, bestie! later: this one is from perl v5.42.3, dated 2026-11-03, and the manual name is Test2::...eOnFail(3pm). π
π¦ 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