[wp-trac] [WordPress Unit Tests] #49: Need a way to force known bugs

WordPress Trac wp-trac at lists.automattic.com
Tue Jul 3 00:07:11 UTC 2012


#49: Need a way to force known bugs
----------------------------+----------------------------------------
 Reporter:  nacin           |       Owner:
     Type:  defect          |      Status:  new
 Priority:  high            |   Milestone:  Implement New Test Runner
Component:  Test Framework  |  Resolution:
 Keywords:                  |
----------------------------+----------------------------------------

Comment (by kurtpayne):

 How about using an alternate phpunit.xml config file?

 Run with known bugs:
 `phpunit -c phpunit_known_bugs.xml`

 Run without known bugs:
 `phpunit`

 In this patch, phpunit_known_bugs.xml is an svn copy.  It is duplication.
 Before this, I attempted `$_ENV` but phpunit scrubbed that, and `$argv`
 but phpunit produced an "unrecognized option" error.

-- 
Ticket URL: <https://unit-test.trac.wordpress.org/ticket/49#comment:2>
WordPress Unit Tests <https://unit-test.trac.wordpress.org>
My example project


More information about the wp-trac mailing list