lithium\test\Report::__construct()

public method

Constructor.

Parameters

  • array $config

    Options array for the test run. Valid options are:

    • 'group': The test group with items 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.

Returns

void

Source

	public function __construct(array $config = []) {
		$defaults = [
			'title' => null,
			'group' => null,
			'filters' => [],
			'format' => 'txt',
			'reporter' => null
		];
		parent::__construct($config + $defaults);
	}