1Test2::Event::TAP::VersUisoenr(3C)ontributed Perl DocumeTnetsatt2i:o:nEvent::TAP::Version(3)
2
3
4
6 Test2::Event::TAP::Version - Event for TAP version.
7
9 This event is used if a TAP formatter wishes to set a version.
10
12 use Test2::API qw/context/;
13 use Test2::Event::Encoding;
14
15 my $ctx = context();
16 my $event = $ctx->send_event('TAP::Version', version => 42);
17
19 Inherits from Test2::Event. Also defines:
20
21 $version = $e->version
22 The TAP version being parsed.
23
25 The source code repository for Test2 can be found at
26 http://github.com/Test-More/test-more/.
27
29 Chad Granum <exodist@cpan.org>
30
32 Chad Granum <exodist@cpan.org>
33
35 Copyright 2020 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.36.0 2023-03-15 Test2::Event::TAP::Version(3)