lithium\test\Group::tests()

public method

Get the collection of tests

Parameters

  • string|array $params
  • array $options

Returns

lithium\util\Collection

Source

	public function tests($params = array(), array $options = array()) {
		$tests = new Collection();

		foreach ($this->_data as $test) {
			if (!class_exists($test)) {
				throw new Exception("Test case `{$test}` not found.");
			}
			$tests[] = new $test;
		}
		return $tests;
	}