1Test::Stream::Workflow:U:sMeertaC(o3n)tributed Perl DocuTmeesntt:a:tSitorneam::Workflow::Meta(3)
2
3
4

NAME

6       Test::Stream::Workflow::Meta - Meta-data for tests using workflows
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

EXPERIMENTAL CODE WARNING

15       "This module is still EXPERIMENTAL". Test-Stream is now stable, but
16       this particular module is still experimental. You are still free to use
17       this module, but you have been warned that it may change in backwords
18       incompatible ways.  This message will be removed from this modules POD
19       once it is considered stable.
20

DESCRIPTION

22       When a test package uses workflows it needs a place to hold the primary
23       unit.  This meta-data holds the primary unit for test packages. It also
24       takes care of ensuring they get run at the correct times.
25

METHODS

27   CLASS METHODS
28       $meta = $CLASS->build($pkg, $file, $start_line, $end_line)
29           Create a meta-instance for the specified package. If one already
30           exists it will return the existing one instead, ignoring all
31           arguments other than $pkg.
32
33       $meta = $CLASS->get($pkg)
34           Get the existing meta-instance for the specified package. This will
35           return "undef" if none exists.
36
37       $meta = $CLASS->purge($pkg)
38           Delete the meta-instance for the specified package. The instance
39           will be returned, but will no longer be tied to the package.
40
41   OBJECT METHODS
42       $unit = $meta->unit
43       $meta->set_unit($unit)
44           Get/Set the associated unit (Test::Stream::Workflow::Unit).
45
46       $runner = $meta->runner
47       $meta->set_runner($runner)
48           Get/Set the runner to use (Test::Stream::Workflow::Runner).
49
50       $ar = $meta->runner_args
51       $meta->set_runner_args([...])
52           Get/Set the args arrayref to be passed to the runner.
53
54       $bool = $meta->autorun
55       $meta->set_autorun($bool)
56           Defaults to true. Set this to 0 to turn off automatic running of
57           the workflow.
58
59       $meta->run()
60           Run the workflow.
61
62       $meta->purge()
63           Remove the meta object from the package it was created for.
64

SOURCE

66       The source code repository for Test::Stream can be found at
67       http://github.com/Test-More/Test-Stream/.
68

MAINTAINERS

70       Chad Granum <exodist@cpan.org>
71

AUTHORS

73       Chad Granum <exodist@cpan.org>
74
76       Copyright 2015 Chad Granum <exodist7@gmail.com>.
77
78       This program is free software; you can redistribute it and/or modify it
79       under the same terms as Perl itself.
80
81       See http://dev.perl.org/licenses/
82
83
84
85perl v5.32.0                      2020-07-28   Test::Stream::Workflow::Meta(3)
Impressum