lithium\test\Dispatcher::_report()

protected static method

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

object

Group 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);
	}