lithium\test\Dispatcher::_report()
Creates the test report class based on either the passed test case or the passed test group.
Parameters
-
string
$group
-
array
$options
Options array passed from Dispatcher::run(). Should contain one of 'case' or 'group' keys.
Returns
objectGroup object constructed with the test case or group passed in $options.
Source
protected static function _report($group, $options) {
return Libraries::instance(
'test', static::$_classes['report'], compact('group') + $options
);
}