Méthode |
Description |
|
__construct ( string $label = false ) |
Sets the name of the test suite. |
|
add ( SimpleTestCase $test_case ) |
Adds a test into the suite by instance or class. |
|
addFile ( string $test_file ) |
Builds a test suite from a library of test cases. |
|
collect ( string $path, SimpleCollector $collector ) |
Delegates to a visiting collector to add test files. |
|
getBaseTestCase ( string $class ) |
Test to see if a class is derived from the SimpleTestCase class. |
|
getLabel ( ) : string |
Accessor for the test name for subclasses. If the suite
wraps a single test case the label defaults to the name of that test. |
|
getSize ( ) : integer |
Number of contained test cases. |
|
run ( SimpleReporter $reporter ) |
Invokes run() on all of the held test cases, instantiating them if necessary. |
|