Test2::...eOnFail(3)
okay so welcome to the Test2::...eOnFail(3) page β thatβs the User Contributed Perl Documentation version, bestie β and the actual module is Test2::Plugin::DieOnFail. This is your little group-chat cheat sheet. π«Άβ¨
π NAME π
Test2::Plugin::DieOnFail β Automatically die on the first test failure.
π DESCRIPTION π
This module will die after the first test failure. Literally. Itβs giving βnope, weβre done here,β and it will prevent your tests from continuing. π
The exception is thrown when the context is released β that is, it will run when the test function you are using, such as ok(), returns. This gives the tools the ability to output any extra diagnostics they may need. Slay for diagnostics. π
πΈ SYNOPSIS πΈ
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/
and thatβs the whole vibe check, bestie β this page is perl v5.42.0, dated 2025-07-28, with the footer name Test2::...eOnFail(3). mwah πβ¨
π¦ where this page comes from
- opensuse-leap 16.0: perl-Test-Simple 1.302214-bp160.1.2 Β· Artistic-1.0 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