1Test::Run::Base(3) User Contributed Perl Documentation Test::Run::Base(3)
2
3
4
6 Test::Run::Base - base class for all of Test::Run.
7
9 This is the base class for all Test::Run classes. It inherits from
10 Class::Accessor and provides some goodies of its own.
11
13 $package->new({%args})
14 The default constructor. Do not over-ride it. Instead, define a BUILD()
15 method.
16
17 $dest->copy_from($source, [@fields])
18 Assigns the fields @fields using their accessors based on their values
19 in $source.
20
21 $self->accum_array({ method => $method_name })
22 This is a more simplistic version of the :CUMULATIVE functionality in
23 Class::Std. It was done to make sure that one can collect all the
24 members of array refs out of methods defined in each class into one big
25 array ref, that can later be used.
26
27 $self->_run_sequence(\@params)
28 Runs the sequence of commands specified using
29 "_calc__${calling_sub}__callbacks" while passing @params to each one.
30 Generates a list of all the callbacks return values.
31
33 This file is licensed under the MIT X11 License:
34
35 http://www.opensource.org/licenses/mit-license.php
36
37
38
39perl v5.34.0 2021-07-23 Test::Run::Base(3)