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

WordPress Trac noreply at wordpress.org
Thu Oct 15 05:29:42 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:"35188"]:
 {{{
 #!CommitTicketReference repository="" revision="35188"
 Unit Tests: create more fixtures for `Tests_User`. When using a factory to
 create ad hoc users, use the inherited static prop `$static_factory`
 instead of the instance prop, `$factory`. If 2 factories are used out of
 sync, the generator sequences diverge and dupes can be created, causing an
 untold number of unforeseen errors. Yay.

 See #30017, #33968.
 }}}

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


More information about the wp-trac mailing list