[wp-trac] [WordPress Trac] #40531: Avoid test skipping for multisite only or single site only tests

WordPress Trac noreply at wordpress.org
Sun Apr 23 21:57:33 UTC 2017


#40531: Avoid test skipping for multisite only or single site only tests
------------------------------+--------------------------
 Reporter:  johnbillion       |       Owner:  johnbillion
     Type:  task (blessed)    |      Status:  closed
 Priority:  normal            |   Milestone:  4.8
Component:  Build/Test Tools  |     Version:
 Severity:  normal            |  Resolution:  fixed
 Keywords:  needs-patch       |     Focuses:  multisite
------------------------------+--------------------------
Changes (by johnbillion):

 * status:  accepted => closed
 * resolution:   => fixed


Comment:

 In [changeset:"40543"]:
 {{{
 #!CommitTicketReference repository="" revision="40543"
 Build/Test Tools: Introduce `skipWithoutMultisite()` and
 `skipWithMultisite`() methods into the test suite.

 This brings much needed uniformity to test skipping when a test requires
 Multisite or when a test should be excluded from running when Multisite is
 enabled.

 Used in conjunction with the `@group ms-required` and `@group ms-excluded`
 notation, this removes a significant number of skipped tests from the
 default test suite run.

 Fixes #40531
 }}}

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


More information about the wp-trac mailing list