[wp-trac] [WordPress Trac] #42278: Speed up tests by using shared user fixtures

WordPress Trac noreply at wordpress.org
Thu Oct 19 15:38:14 UTC 2017


#42278: Speed up tests by using shared user fixtures
------------------------------------+------------------
 Reporter:  Frank Klein             |       Owner:
     Type:  enhancement             |      Status:  new
 Priority:  normal                  |   Milestone:  5.0
Component:  Build/Test Tools        |     Version:
 Severity:  normal                  |  Resolution:
 Keywords:  needs-unit-tests early  |     Focuses:
------------------------------------+------------------
Changes (by johnbillion):

 * keywords:   => needs-unit-tests early
 * version:  trunk =>
 * milestone:  Awaiting Review => 5.0


Comment:

 We'll need to consider only setting up these fixtures when
 `WP_RUN_CORE_TESTS` is true, or to introduce a means of plugins/themes
 that use the test suite to opt in to these fixtures, otherwise this has a
 high chance of breaking existing plugin/theme tests that count the number
 of users on the site.

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


More information about the wp-trac mailing list