Test2::...eOnFail(3)

πŸ“¦ version 1.302214, in opensuse-leap 16.0

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