1Test2::Event::Skip(3) User Contributed Perl DocumentationTest2::Event::Skip(3)
2
3
4

NAME

6       Test2::Event::Skip - Skip event type
7

DESCRIPTION

9       Skip events bump test counts just like Test2::Event::Ok events, but
10       they can never fail.
11

SYNOPSIS

13           use Test2::API qw/context/;
14           use Test2::Event::Skip;
15
16           my $ctx = context();
17           my $event = $ctx->skip($name, $reason);
18
19       or:
20
21           my $ctx   = context();
22           my $event = $ctx->send_event(
23               'Skip',
24               name   => $name,
25               reason => $reason,
26           );
27

ACCESSORS

29       $reason = $e->reason
30           The original true/false value of whatever was passed into the event
31           (but reduced down to 1 or 0).
32

SOURCE

34       The source code repository for Test2 can be found at
35       http://github.com/Test-More/test-more/.
36

MAINTAINERS

38       Chad Granum <exodist@cpan.org>
39

AUTHORS

41       Chad Granum <exodist@cpan.org>
42
44       Copyright 2020 Chad Granum <exodist@cpan.org>.
45
46       This program is free software; you can redistribute it and/or modify it
47       under the same terms as Perl itself.
48
49       See http://www.perl.com/perl/misc/Artistic.html
50
51
52
53perl v5.32.0                      2020-10-15             Test2::Event::Skip(3)
Impressum