![]() |
![]()
| ![]() |
![]()
NAMETest::Able::Runner::Role::Meta::Class - metaclass role for test runners VERSIONversion 1.002 DESCRIPTIONThis class provides the real guts for loading the test objects to run. However, you probably don't need to use it directly unless you are doing something fancy. See Test::Able::Runner for the usual cases. ATTRIBUTESbase_packageThis is set by the "-base_package" option sent to "use_test_packages". A "has_base_package" predicate will tell you if this has been set. test_packagesThis is set by the "-test_packages" option sent to "use_test_packages". A "has_test_packages" predicate will tell you if this has been set. test_pathThis is set by teh "-test_path" option sent to "use_test_packages". METHODStest_classesThis returns all the packages that will be loaded for testing. This does not filter classes out that have $NOT_A_TEST set. This will search for test classes if "base_package" has been set or it return the contents of "test_packages". build_test_objectsThis method returns all the test objects that should be run by this runner. It works by doing the following:
setup_test_objectsCalls "build_test_objects" and sets the "test_objects" accessor from Test::Able::Role::Meta::Class. AUTHORAndrew Sterling Hanenkamp "<hanenkamp@cpan.org>" COPYRIGHT AND LICENSECopyright 2010 Qubling Software LLC. This library is free software. You can redistribute it and/or modify it under the same terms as Perl itself.
|