Make WordPress Core


Ignore:
Timestamp:
04/22/2017 06:58:46 PM (10 years ago)
Author:
johnbillion
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/theme/WPTheme.php

    r37202 r40520  
    146146         *
    147147         * @ticket 30594
     148         * @group ms-required
    148149         */
    149150        function test_wp_theme_network_enable_single_theme() {
    … …  
    166167         *
    167168         * @ticket 30594
     169         * @group ms-required
    168170         */
    169171        function test_wp_theme_network_enable_multiple_themes() {
    … …  
    186188         *
    187189         * @ticket 30594
     190         * @group ms-required
    188191         */
    189192        function test_network_disable_single_theme() {
    … …  
    210213         *
    211214         * @ticket 30594
     215         * @group ms-required
    212216         */
    213217        function test_network_disable_multiple_themes() {
Note: See TracChangeset for help on using the changeset viewer.