diff options
-rw-r--r-- | texttest.php | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/texttest.php b/texttest.php index 4a0bbf8..de7417a 100644 --- a/texttest.php +++ b/texttest.php @@ -86,6 +86,16 @@ Test suite: $name ========================================== "; + + $failures = $result->failures(); + foreach($failures as $failure) { + $test = $failure->failedTest(); + $testName = $test->getName(); + $exception = $failure->thrownException(); + echo "* Failure in $testName: $exception + +"; + } } $before = microtime_float(); |