public static run ( string $group = null, array $options = [] ) : array |
$group |
string |
If set, this test group is run. If not set, a group test may
also be run by passing the 'group' option to the $options parameter. |
$options |
array |
Options array for the test run. Valid options are:
- `'case'`: The fully namespaced test case to be run.
- `'group'`: The fully namespaced test group to be run.
- `'filters'`: An array of filters that the test output should be run through.
- `'format'`: The format of the template to use, defaults to `'txt'`.
- `'reporter'`: The reporter to use. |
return |
array |
A compact array of the title, an array of the results, as well
as an additional array of the results after the $options['filters']
have been applied. |