[wp-trac] [WordPress Trac] #40532: Find a workaround for unit tests that have a dependency on XDebug

WordPress Trac noreply at wordpress.org
Mon Dec 4 03:22:46 UTC 2017


#40532: Find a workaround for unit tests that have a dependency on XDebug
------------------------------------------+------------------------------
 Reporter:  johnbillion                   |       Owner:
     Type:  defect (bug)                  |      Status:  new
 Priority:  normal                        |   Milestone:  Awaiting Review
Component:  Build/Test Tools              |     Version:
 Severity:  normal                        |  Resolution:
 Keywords:  needs-patch needs-unit-tests  |     Focuses:
------------------------------------------+------------------------------

Comment (by netweb):

 The other option I'd thought of was to create a new PHPUnit test group,
 similar to the `ajax`, `ms-files`, `external-http` etc groups specifically
 for Xdebug, tests that require it are moved into that group and that group
 only is tested with Xdebug enabled, again, this would need some testing
 for feasibility.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/40532#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list