1Test::Stream::Event::DiUasge(r3)Contributed Perl DocumenTteastti:o:nStream::Event::Diag(3)
2
3
4
6 Test::Stream::Event::Diag - Diag event type
7
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
15 Diagnostics messages, typically rendered to STDERR.
16
18 use Test::Stream::Context qw/context/;
19 use Test::Stream::Event::Diag;
20
21 my $ctx = context();
22 my $event = $ctx->diag($message);
23
25 $diag->message
26 The message for the diag.
27
29 The source code repository for Test::Stream can be found at
30 http://github.com/Test-More/Test-Stream/.
31
33 Chad Granum <exodist@cpan.org>
34
36 Chad Granum <exodist@cpan.org>
37
39 Copyright 2015 Chad Granum <exodist7@gmail.com>.
40
41 This program is free software; you can redistribute it and/or modify it
42 under the same terms as Perl itself.
43
44 See http://dev.perl.org/licenses/
45
46
47
48perl v5.32.1 2021-01-27 Test::Stream::Event::Diag(3)