1Test::Stream::Bundle::VU1s(e3r)Contributed Perl DocumentTaetsito:n:Stream::Bundle::V1(3)
2
3
4

NAME

6       Test::Stream::Bundle::V1 - Preferred bundle used by Test::Stream
7       author.
8

DEPRECATED

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

DESCRIPTION

16       This bundle is the one used most in Test::Stream's own test suite. This
17       bundle ties together the most commonly used tools.
18

SYNOPSIS

20       Note: On ly the most critical functions are listed here. Please see
21       individual plugins for their functions.
22
23           use Test::Stream '-V1';
24
25           ok(1, "This is a pass");
26           ok(0, "This is a fail");
27
28           is("x", "x", "These strings are the same");
29           is($A, $B, "These 2 structures match exactly");
30
31           like('x', qr/x/, "This string matches this pattern");
32           like($A, $B, "These structures match where it counts");
33
34           done_testing;
35

INCLUDED TOOLS

37       strict
38           'strict' is turned on for you.
39
40       warnings
41           'warnings' are turned on for you.
42
43       Compare
44           This provides "is()" and "like()". This can also provide other
45           tools to make deep comparisons easier, but they are not imported by
46           default.
47
48           See Test::Stream::Plugin::Compare for more details.
49
50       Context
51           This provides the "context()" function which is useful in writing
52           new tools, or wrapping existing ones.
53
54           See Test::Stream::Plugin::Context for more details.
55
56       Core
57           This provides essential tools such as "ok()", "done_testing()", as
58           well as others.
59
60           See Test::Stream::Plugin::Core for more details.
61
62       Exception
63           This provides tools to help you intercept or check for the absence
64           of exceptions. This is very similar to Test::Fatal, in fact
65           Test::Fatal is probably better. If you can, use Test::Fatal, if you
66           cannot then this may suffice. The functions exported do not
67           conflict with the ones exported by Test::Fatal so both can be
68           loaded together.
69
70           See Test::Stream::Plugin::Exception for more details.
71
72       ExitSummary
73           This provides extra diagnostics at the end of failing tests.
74
75           See Test::Stream::Plugin::ExitSummary for more details.
76
77       IPC This loads IPC support so that threading and forking just work.
78
79           See Test::Stream::Plugin::IPC for more details.
80
81       Mock
82           This provides the "mock()" and "mocked()" functions which can be
83           used to do nearly any kind of mocking you might need.
84
85           See Test::Stream::Plugin::Mock for more details.
86
87       TAP This sets TAP to be the default output format.
88
89           See Test::Stream::Plugin::TAP for more details.
90
91       UTF8
92           This module turns on the utf8 pragma for your test file, it also
93           sets STDERR, STDOUT and the formatter output handles to use utf8.
94
95           See Test::Stream::Plugin::UTF8 for more details.
96
97       Warnings
98           This plugin provides tools to help intercept warnings.
99
100           See Test::Stream::Plugin::Warnings for more details.
101

SOURCE

103       The source code repository for Test::Stream can be found at
104       http://github.com/Test-More/Test-Stream/.
105

MAINTAINERS

107       Chad Granum <exodist@cpan.org>
108

AUTHORS

110       Chad Granum <exodist@cpan.org>
111
113       Copyright 2015 Chad Granum <exodist7@gmail.com>.
114
115       This program is free software; you can redistribute it and/or modify it
116       under the same terms as Perl itself.
117
118       See http://dev.perl.org/licenses/
119
120
121
122perl v5.32.0                      2020-07-28       Test::Stream::Bundle::V1(3)
Impressum