1Test2::EventFacet::InfoU(s3e)r Contributed Perl DocumentaTteisotn2::EventFacet::Info(3)
2
3
4
6 Test2::EventFacet::Info - Facet for information a developer might care
7 about.
8
10 This facet represents messages intended for humans that will help them
11 either understand a result, or diagnose a failure.
12
14 This facet appears in a list instead of being a single item.
15
17 $string_or_structure = $info->{details}
18 $string_or_structure = $info->details()
19 Human readable string or data structure, this is the information to
20 display. Formatters are free to render the structures however they
21 please. This may contain a blessed object.
22
23 $short_string = $info->{tag}
24 $short_string = $info->tag()
25 Short tag to categorize the info. This is usually 10 characters or
26 less, formatters may truncate longer tags.
27
28 $bool = $info->{debug}
29 $bool = $info->debug()
30 Set this to true if the message is critical, or explains a failure.
31 This is info that should be displayed by formatters even in less-
32 verbose modes.
33
34 When false the information is not considered critical and may not
35 be rendered in less-verbose modes.
36
37 $bool = $info->{important}
38 $bool = $info->important
39 This should be set for non debug messages that are still important
40 enough to show when a formatter is in quiet mode. A formatter
41 should send these to STDOUT not STDERR, but should show them even
42 in non-verbose mode.
43
45 The source code repository for Test2 can be found at
46 http://github.com/Test-More/test-more/.
47
49 Chad Granum <exodist@cpan.org>
50
52 Chad Granum <exodist@cpan.org>
53
55 Copyright 2018 Chad Granum <exodist@cpan.org>.
56
57 This program is free software; you can redistribute it and/or modify it
58 under the same terms as Perl itself.
59
60 See http://dev.perl.org/licenses/
61
62
63
64perl v5.28.0 2018-08-13 Test2::EventFacet::Info(3)