1Test::Stream::Event::BaUisle(r3)Contributed Perl DocumenTteastti:o:nStream::Event::Bail(3)
2
3
4

NAME

6       Test::Stream::Event::Bail - Bailout!
7

DEPRECATED

9       This distribution is deprecated in favor of Test2, Test2::Suite, and
10       Test2::Workflow.
11
12       See Test::Stream::Manual::ToTest2 for a conversion guide.
13

DESCRIPTION

15       The bailout event is generated when things go horribly wrong and you
16       need to halt all testing in the current file.
17

SYNOPSIS

19           use Test::Stream::Context qw/context/;
20           use Test::Stream::Event::Bail;
21
22           my $ctx = context();
23           my $event = $ctx->bail('Stuff is broken');
24

METHODS

26       Inherits from Test::Stream::Event. Also defines:
27
28       $reason = $e->reason
29           The reason for the bailout.
30

SOURCE

32       The source code repository for Test::Stream can be found at
33       http://github.com/Test-More/Test-Stream/.
34

MAINTAINERS

36       Chad Granum <exodist@cpan.org>
37

AUTHORS

39       Chad Granum <exodist@cpan.org>
40
42       Copyright 2015 Chad Granum <exodist7@gmail.com>.
43
44       This program is free software; you can redistribute it and/or modify it
45       under the same terms as Perl itself.
46
47       See http://dev.perl.org/licenses/
48
49
50
51perl v5.36.0                      2023-01-20      Test::Stream::Event::Bail(3)
Impressum