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)    
Subscription  
Comments Add Comment Add patch


Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know! Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem : 48 - 37 = ?

 
 [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: --------------

Comments

 [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 pear.php.net by the end of next Sunday (CET). If this was a problem with the pear.php.net 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 :)