public function run(array $runTestMethods = array(), array $tags = array())
{
if ($runTestMethods) {
$this->runTestMethods(array_intersect($runTestMethods, $this->getTestMethods($tags)));
}
if ($this->isIgnored() === false) {
$this->callObservers(self::runStart);
try {
$this->runEngines();
} catch (\exception $exception) {
$this->stopEngines();
throw $exception;
}
$this->callObservers(self::runStop);
}
return $this;
}