lithium\test\Group::tests()
Get the collection of tests
Parameters
-
string|array
$params
-
array
$options
Returns
lithium\util\CollectionSource
public function tests($params = [], array $options = []) {
$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;
}