[wp-trac] [WordPress Trac] #25282: Unit Tests should run in Debug mode
WordPress Trac
noreply at wordpress.org
Wed Sep 11 17:21:25 UTC 2013
#25282: Unit Tests should run in Debug mode
----------------------------+-------------------
Reporter: wonderboymusic | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 3.7
Component: Unit Tests | Version: trunk
Severity: normal | Keywords:
----------------------------+-------------------
We get reports for notices / warnings sporadically and arbitrarily. Almost
every time, they reveal coding errors, inconsistencies, or missed variable
checks. Currently, if you add these lines to `wp-tests-config.php`:
{{{
error_reporting( -1 );
define( 'WP_DEBUG', true );
}}}
A LOT of tests fail and a lot of errors/warnings are exposed. Let's clean
this up.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/25282>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list