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

WordPress Trac noreply at wordpress.org
Sat Apr 22 18:58:48 UTC 2017


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

Comment (by johnbillion):

 In [changeset:"40520"]:
 {{{
 #!CommitTicketReference repository="" revision="40520"
 Build/Test Tools: Introduce `ms-required` and `ms-excluded` groups for
 tests.

 Tests in the `ms-excluded` group are now excluded when running tests with
 multisite enabled, and tests in the `ms-required` group are excluded when
 running tests without multisite enabled. The end result is a significantly
 reduced number of skipped tests polluting PHPUnit's output, which means
 verbose mode can be used to more easily see which tests are skipped or
 incomplete, and why.

 See #40531
 }}}

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


More information about the wp-trac mailing list