1Test::Able::Runner::RolUes:e:rMeCtoan:t:rCilbaustse(d3T)Peesrtl::DAobcluem:e:nRtuantnieorn::Role::Meta::Class(3)
2
3
4

NAME

6       Test::Able::Runner::Role::Meta::Class - metaclass role for test runners
7

VERSION

9       version 1.002
10

DESCRIPTION

12       This class provides the real guts for loading the test objects to run.
13       However, you probably don't need to use it directly unless you are
14       doing something fancy. See Test::Able::Runner for the usual cases.
15

ATTRIBUTES

17   base_package
18       This is set by the "-base_package" option sent to "use_test_packages".
19       A "has_base_package" predicate will tell you if this has been set.
20
21   test_packages
22       This is set by the "-test_packages" option sent to "use_test_packages".
23       A "has_test_packages" predicate will tell you if this has been set.
24
25   test_path
26       This is set by teh "-test_path" option sent to "use_test_packages".
27

METHODS

29   test_classes
30       This returns all the packages that will be loaded for testing. This
31       does not filter classes out that have $NOT_A_TEST set.
32
33       This will search for test classes if "base_package" has been set or it
34       return the contents of "test_packages".
35
36   build_test_objects
37       This method returns all the test objects that should be run by this
38       runner. It works by doing the following:
39
40       1.  It retrieves a list of potential test classes using "test_classes".
41
42       2.  It checks each package and throws away those with a package global
43           variable named $NOT_A_TEST that has been set to a true value.
44
45       3.  It instantiates the test classes and returns an arrayref of those
46           test objects.
47
48   setup_test_objects
49       Calls "build_test_objects" and sets the "test_objects" accessor from
50       Test::Able::Role::Meta::Class.
51

AUTHOR

53       Andrew Sterling Hanenkamp "<hanenkamp@cpan.org>"
54
56       Copyright 2010 Qubling Software LLC.
57
58       This library is free software. You can redistribute it and/or modify it
59       under the same terms as Perl itself.
60
61
62
63perl v5.30.1                      2020-T0e1s-t3:0:Able::Runner::Role::Meta::Class(3)
Impressum