[wp-trac] [WordPress Trac] #30017: Many automated tests are unnecessarily slow

WordPress Trac noreply at wordpress.org
Sat Oct 17 19:24:23 UTC 2015


#30017: Many automated tests are unnecessarily slow
------------------------------+--------------------------
 Reporter:  boonebgorges      |       Owner:
     Type:  task (blessed)    |      Status:  new
 Priority:  normal            |   Milestone:  4.4
Component:  Build/Test Tools  |     Version:
 Severity:  normal            |  Resolution:
 Keywords:                    |     Focuses:  performance
------------------------------+--------------------------

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/30017#comment:49>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list