1Test2::Plugin::BailOnFaUisle(r3)Contributed Perl DocumenTteastti2o:n:Plugin::BailOnFail(3)
2
3
4

NAME

6       Test2::Plugin::BailOnFail - Automatically bail out of testing on the
7       first test failure.
8

DESCRIPTION

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

SYNOPSIS

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

SOURCE

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

MAINTAINERS

29       Chad Granum <exodist@cpan.org>
30

AUTHORS

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