summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJosh Hoyt <josh@janrain.com>2006-01-05 02:15:49 +0000
committerJosh Hoyt <josh@janrain.com>2006-01-05 02:15:49 +0000
commitf62cb53a150238105354794426a17d9ecbd4704a (patch)
tree638ba92e0f7e56220f95079e664a2c5b96ae0c11
parent6604a0d51b9eff5ae3724c6156eb454ac1ba9db2 (diff)
downloadphp-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.php10
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();