1Test::Stream::Plugin::DUiseeOrnFCaoinlt(r3i)buted Perl DToecsutm:e:nSttarteiaomn::Plugin::DieOnFail(3)
2
3
4
6 Test::Stream::Plugin::DieOnFail - Automatically die on the first test
7 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 die after the first test failure. This will prevent
24 your tests from continuing. The exception is thrown when the context is
25 released, that is it will run when the test function you are using,
26 such as ok(), returns; This gives the tools the ability to output any
27 extra diagnostics they may need.
28
30 use Test::Stream qw/Core DieOnFail/;
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.36.0 2023-01-20Test::Stream::Plugin::DieOnFail(3)