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

WordPress Trac noreply at wordpress.org
Sat Oct 17 19:24:22 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 wonderboymusic):

 In [changeset:"35244"]:
 {{{
 #!CommitTicketReference repository="" revision="35244"
 Unit Tests: `WP_UnitTest_Generator_Sequence` needs a static incrementer -
 otherwise, it assumes every test class is a reset, which it no longer is
 (it is now static).

 While we're at it, remove unnecessary `tearDown()` code.

 See #30017, #33968.
 }}}

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


More information about the wp-trac mailing list