getTests() public méthode

Return collection of tests
public getTests ( ) : array
Résultat array
 /**
  * Handle the start of a suite.
  *
  * @access private
  */
 public function onSuiteStart(Suite $suite)
 {
     foreach ($suite->getTests() as $test) {
         $definition = new ReflectionFunction($test->getDefinition());
         $parameters = $definition->getParameters();
         if ($parameters) {
             $test->setDefinitionArguments($this->parameterArguments($parameters));
         }
     }
 }