[wp-trac] [WordPress Trac] #30017: Many automated tests are unnecessarily slow
WordPress Trac
noreply at wordpress.org
Thu Oct 15 05:29:43 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:"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/30017#comment:35>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list