1Test::Stream::Plugin::BUasielrOnCFoanitlr(i3b)uted PerlTDeosctu:m:eSnttraetaimo:n:Plugin::BailOnFail(3)
2
3
4
6 Test::Stream::Plugin::BailOnFail - Automatically bail out of testing on
7 the first test failure.
8
10 This distribution is deprecated in favor of Test2, Test2::Suite, and
11 Test2::Workflow.
12
13 See Test::Stream::Manual::ToTest2 for a conversion guide.
14
16 "This module is still EXPERIMENTAL". Test-Stream is now stable, but
17 this particular module is still experimental. You are still free to use
18 this module, but you have been warned that it may change in backwords
19 incompatible ways. This message will be removed from this modules POD
20 once it is considered stable.
21
23 This module will issue a bailout event after the first test failure.
24 This will prevent your tests from continuing. The bailout runs when the
25 context is released, that is it will run when the test function you are
26 using, such as "ok()", returns; This gives the tools the ability to
27 output any extra diagnostics they may need.
28
30 use Test::Stream qw/Core BailOnFail/;
31
32 ok(1, "pass");
33 ok(0, "fail");
34 ok(1, "Will not run");
35
37 The source code repository for Test::Stream can be found at
38 http://github.com/Test-More/Test-Stream/.
39
41 Chad Granum <exodist@cpan.org>
42
44 Chad Granum <exodist@cpan.org>
45
47 Copyright 2015 Chad Granum <exodist7@gmail.com>.
48
49 This program is free software; you can redistribute it and/or modify it
50 under the same terms as Perl itself.
51
52 See http://dev.perl.org/licenses/
53
54
55
56perl v5.30.0 2019-07-26Test::Stream::Plugin::BailOnFail(3)