GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  TEST::ABLE::RUNNER::ROLE::META::CLASS (3)

.ds Aq ’

NAME

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

CONTENTS

VERSION

version 1.001

DESCRIPTION

This 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.

ATTRIBUTES

    base_package

This 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_packages

This 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_path

This is set by teh -test_path option sent to use_test_packages.

METHODS

    test_classes

This 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_objects

This method returns all the test objects that should be run by this runner. It works by doing the following:
1. It retrieves a list of potential test classes using test_classes.
2. It checks each package and throws away those with a package global variable named $NOT_A_TEST that has been set to a true value.
3. It instantiates the test classes and returns an arrayref of those test objects.

    setup_test_objects

Calls build_test_objects and sets the test_objects accessor from Test::Able::Role::Meta::Class.

AUTHOR

Andrew Sterling Hanenkamp <hanenkamp@cpan.org>

COPYRIGHT AND LICENSE

Copyright 2010 Qubling Software LLC.

This library is free software. You can redistribute it and/or modify it under the same terms as Perl itself.

Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 TEST::ABLE::RUNNER::ROLE::META::CLASS (3) 2010-01-30

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.