[wp-trac] [WordPress Trac] #33968: Improve performance of Unit Tests for 4.4

WordPress Trac noreply at wordpress.org
Sat Oct 17 15:45:39 UTC 2015


#33968: Improve performance of Unit Tests for 4.4
------------------------------+-----------------------
 Reporter:  jorbin            |       Owner:  jorbin
     Type:  defect (bug)      |      Status:  assigned
 Priority:  normal            |   Milestone:  4.4
Component:  Build/Test Tools  |     Version:
 Severity:  normal            |  Resolution:
 Keywords:                    |     Focuses:
------------------------------+-----------------------

Comment (by nerrad):

 duh missed awesome.diff.  I gave it a go and although it fixes for plugins
 using WP_UnitTestCase (with a tweak) WP unit tests will need updated
 because `__get()` only works in object context.  I don't think you're
 going to be able to avoid changing the `$factory` property back to a non
 static property and using something else like `$_factory` to hold the
 static instance.

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


More information about the wp-trac mailing list