1Test2::Plugin::DieOnFaiUls(e3r)Contributed Perl DocumentTaetsito2n::Plugin::DieOnFail(3)
2
3
4

NAME

6       Test2::Plugin::DieOnFail - Automatically die on the first test failure.
7

DESCRIPTION

9       This module will die after the first test failure. This will prevent
10       your tests from continuing. The exception is thrown when the context is
11       released, that is it will run when the test function you are using,
12       such as "ok()", returns.  This gives the tools the ability to output
13       any extra diagnostics they may need.
14

SYNOPSIS

16           use Test2::V0;
17           use Test2::Plugin::DieOnFail;
18
19           ok(1, "pass");
20           ok(0, "fail");
21           ok(1, "Will not run");
22

SOURCE

24       The source code repository for Test2-Suite can be found at
25       https://github.com/Test-More/Test2-Suite/.
26

MAINTAINERS

28       Chad Granum <exodist@cpan.org>
29

AUTHORS

31       Chad Granum <exodist@cpan.org>
32
34       Copyright 2018 Chad Granum <exodist@cpan.org>.
35
36       This program is free software; you can redistribute it and/or modify it
37       under the same terms as Perl itself.
38
39       See http://dev.perl.org/licenses/
40
41
42
43perl v5.32.0                      2020-12-16       Test2::Plugin::DieOnFail(3)
Impressum