Added exit status codes to test runner

This commit is contained in:
Marcin Kurczewski 2014-08-09 12:24:44 +02:00
parent a9a5bea1c7
commit d45a590531

View file

@ -11,7 +11,8 @@ class ReflectionBasedTestRunner implements ITestRunner
public function run()
{
$testFixtures = $this->getTestFixtures($this->filter);
$this->runAll($testFixtures);
$success = $this->runAll($testFixtures);
exit($success ? 0 : 1);
}
public function setFilter($filter)