Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 0.6.0

Request #15911 Change the color of the Failed Tests Summary to red
Submitted: 2009-02-18 18:36 UTC
From: sofia Assigned: izi
Status: Closed Package: Testing_DocTest
PHP Version: 5.2.5 OS: mac
Roadmaps: (Not assigned)    

 [2009-02-18 18:36 UTC] sofia (sofia cardita)
Description: ------------ If too much code is outputted as a result of running the tests, you may not see the failed tests in red but only the summary information. If there are any failed tests, the failed tests summary should be in red as well so that it's always possible to see at a glance if any tests failed. To achieve this check the sample code script. Test script: --------------- Line 287 in Doctest/Reporter/Default.php can be changed from $this->_output("Failed tests : $failed\n\n"); to if ($failed > 0) { $this->_output("Failed tests : $failed\n\n", 31, true); }else{ $this->_output("Failed tests : $failed\n\n"); } Expected result: ---------------- Actual result: --------------


 [2009-02-24 15:23 UTC] izi (David Jean Louis)
-Status: Open +Status: Closed -Assigned To: +Assigned To: izi
This bug has been fixed in CVS. If this was a documentation problem, the fix will appear on by the end of next Sunday (CET). If this was a problem with the website, the change should be live shortly. Otherwise, the fix will appear in the package's next release. Thank you for the report and for helping us make PEAR better. Fixed, thanks Sofia :)