diff --git a/tests/run.php b/tests/run.php index 20f456fbb..064466f77 100644 --- a/tests/run.php +++ b/tests/run.php @@ -95,9 +95,25 @@ $test->addTestCase(new Doctrine_EnumTestCase()); //$test->addTestCase(new Doctrine_Cache_FileTestCase()); //$test->addTestCase(new Doctrine_Cache_SqliteTestCase()); +class MyReporter extends HtmlReporter { + public function paintHeader() {} + public function paintFooter() + { + $colour = ($this->getFailCount() + $this->getExceptionCount() > 0 ? "red" : "green"); + print "
"; -$test->run(new HtmlReporter()); +$test->run(new MyReporter()); +$output = ob_get_clean(); /** $cache = Doctrine_Manager::getInstance()->getCurrentConnection()->getCacheHandler(); if(isset($cache)) { @@ -110,7 +126,42 @@ if(isset($cache)) { } */ +?> + + +Doctrine Unit Tests + + + + + +Doctrine Unit Tests
+DSN Settings
+