You are here

public function PHPUnit_Framework_TestSuite::getGroups in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/phpunit/phpunit/src/Framework/TestSuite.php \PHPUnit_Framework_TestSuite::getGroups()

Returns the test groups of the suite.

@since Method available since Release 3.2.0

Return value

array

File

vendor/phpunit/phpunit/src/Framework/TestSuite.php, line 633

Class

PHPUnit_Framework_TestSuite
A TestSuite is a composite of Tests. It runs a collection of test cases.

Code

public function getGroups() {
  return array_keys($this->groups);
}