Solar_Test_Suite::_prepare()
protected
void
Solar_Test_Suite::_prepare
( string $class = NULL
, string $method = NULL
, bool $only = false
)
Prepares class properties for a test run.
Parameters
(string)
$class
: Only prepare tests for this class series. Don't include the 'Test_' prefix. If empty, will run all test classes.(string)
$method
: When empty, recurse into subdirectories and run sub-test classes and methods. When non-empty, run only this test method in the named test class; do not include the "test" prefix. Default null; ignored when $class is empty.(bool)
$only
: Load only the named class, or class and method, instead of descending into sub-tests.
Returns
(void)
Description
Prepares class properties for a test run.