diff options
author | Josh Hoyt <josh@janrain.com> | 2006-01-05 02:15:49 +0000 |
---|---|---|
committer | Josh Hoyt <josh@janrain.com> | 2006-01-05 02:15:49 +0000 |
commit | f62cb53a150238105354794426a17d9ecbd4704a (patch) | |
tree | 638ba92e0f7e56220f95079e664a2c5b96ae0c11 | |
parent | 6604a0d51b9eff5ae3724c6156eb454ac1ba9db2 (diff) | |
download | php-openid-f62cb53a150238105354794426a17d9ecbd4704a.zip php-openid-f62cb53a150238105354794426a17d9ecbd4704a.tar.gz php-openid-f62cb53a150238105354794426a17d9ecbd4704a.tar.bz2 |
[project @ Add output of failures to texttest.php]
-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(); |