Method | Description | |
---|---|---|
__construct ( SimpleScorer $reporter, string $just_this_case = false, string $just_this_test = false ) | Selects the test case or group to be run, and optionally a specific test. | |
paintGroupEnd ( string $test_case ) | Paints the end of a group test. | |
paintGroupStart ( string $test_case, integer $size ) | Paints the start of a group test. | |
shouldInvoke ( string $test_case, string $method ) : boolean | Veto everything that doesn't match the method wanted. |
Method | Description | |
---|---|---|
isOn ( ) : boolean | Is this group actually being tested? | |
matchesTestCase ( string $test_case ) : boolean | Compares criteria to actual the case/group name. | |
off ( ) | Switch off testing for the group or subgroup. | |
on ( ) | Switch on testing for the group or subgroup. | |
shouldRunTest ( $test_case, string $method ) : boolean | Compares criteria to actual the test name. |
public __construct ( SimpleScorer $reporter, string $just_this_case = false, string $just_this_test = false ) | ||
$reporter | SimpleScorer | Reporter to receive events. |
$just_this_case | string | Only this case or group will run. |
$just_this_test | string | Only this test method will run. |
protected matchesTestCase ( string $test_case ) : boolean | ||
$test_case | string | The incoming test. |
return | boolean | True if matched. |
public paintGroupEnd ( string $test_case ) | ||
$test_case | string | Name of test or other label. |
public paintGroupStart ( string $test_case, integer $size ) | ||
$test_case | string | Name of test or other label. |
$size | integer | Number of test cases starting. |
protected shouldRunTest ( $test_case, string $method ) : boolean | ||
$method | string | The incoming test method. |
return | boolean | True if matched. |