Previous Class
Solar_Test_Bench

Solar_Test_Suite
Overview

Next Page
Constants

Solar_Test_Suite

Class for running suites of unit tests.

Expects a directory structure like this ...

Test/
  Solar.php      -- Test_Solar
  Solar/         
    Base.php     -- Test_Solar_Base
    Uri.php      -- Test_Solar_Uri
    Uri/     
      Action.php -- Test_Solar_Uri_Action

Catalog

This class is part of the Solar_Test package.

Inheritance:

Constants

None.

Public Properties

The Solar_Test_Suite class has no public properties; try the list of all properties.

Public Methods

These are all the public methods in the Solar_Test_Suite class.

You can also view the list of all public, protected, and private methods.

__construct()
Constructor.
__destruct()
Default destructor; does nothing other than provide a safe fallback for calls to parent::__destruct().
addTestMethods()
Adds the test methods from a given test class.
apiVersion()
Reports the API version for this class.
dump()
Convenience method for getting a dump the whole object, or one of its properties, or an external variable.
findTests()
Recursively iterates through a directory looking for test classes.
locale()
Looks up class-specific locale strings based on a key.
run()
Runs the test suite (or the sub-test series) and logs as it goes.