From d45a590531343701b27312b014a674aa20601f80 Mon Sep 17 00:00:00 2001 From: Marcin Kurczewski Date: Sat, 9 Aug 2014 12:24:44 +0200 Subject: [PATCH] Added exit status codes to test runner --- tests/ReflectionBasedTestRunner.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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)