1Test::Stream::Plugin(3)User Contributed Perl DocumentatioTnest::Stream::Plugin(3)
2
3
4

NAME

6       Test::Stream::Plugin - Simple helper for writing plugins
7

DEPRECATED

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

DESCRIPTION

15       This module provides an import method that wraps around a typical
16       Test::Stream::Plugin so that it can be used directly.
17
18       Note: This plugin is not necessary if your plugin uses
19       Test::Stream::Exporter and does not have a custom "import" method.
20

SYNOPSIS

22           package Test::Stream::Plugin::MyPlugin;
23           use strict;
24           use warnings;
25
26           # Provides an 'import' method for us that delegates to load_ts_plugin()
27           use Test::Stream::Plugin qw/import/;
28
29           sub load_ts_plugin {
30               my $class = shift;
31               my ($caller, @args) = @_;
32               ...
33           }
34
35           1;
36

MANUAL

38       Test::Stream::Manual is a good place to start when searching for
39       documentation.
40

SOURCE

42       The source code repository for Test::Stream can be found at
43       http://github.com/Test-More/Test-Stream/.
44

MAINTAINERS

46       Chad Granum <exodist@cpan.org>
47

AUTHORS

49       Chad Granum <exodist@cpan.org>
50
52       Copyright 2015 Chad Granum <exodist7@gmail.com>.
53
54       This program is free software; you can redistribute it and/or modify it
55       under the same terms as Perl itself.
56
57       See http://dev.perl.org/licenses/
58
59
60
61perl v5.30.1                      2020-01-30           Test::Stream::Plugin(3)
Impressum