diff --git a/tests/ReflectionBasedTestRunner.php b/tests/ReflectionBasedTestRunner.php index a0108fbd..b6097c9d 100644 --- a/tests/ReflectionBasedTestRunner.php +++ b/tests/ReflectionBasedTestRunner.php @@ -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)