wordpress-develop/tests/phpunit/tests/general
John Blackbourn 4f8057f7d5 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


git-svn-id: https://develop.svn.wordpress.org/trunk@40520 602fd350-edb4-49c9-b593-d223f7449a82
2017-04-22 18:58:46 +00:00
..
archives.php Unit Tests: after [35225], make factory a method/getter on WP_UnitTestCase and add magic methods for BC for every plugin that is extending WP_UnitTestCase and accessing the $factory instance prop. 2015-10-17 18:02:16 +00:00
document-title.php Themes: Re-use fixtures in the wp_get_document_title() tests. 2016-11-08 23:31:45 +00:00
errors.php Build/Test Tools: Utilise assertWPError() and assertNotWPError() in more places. 2016-11-09 00:01:42 +00:00
paginateLinks.php Tests: Introduce WP_UnitTestCase::reset_permalinks(), an attempt to DRY up logic for resetting and restoring default permalinks on setUp() and tearDown(). 2015-10-03 17:14:12 +00:00
resourceHints.php Resource Hints: Allow passing custom attributes to resource hints. 2016-10-19 09:28:22 +00:00
template.php Build/Test Tools: Introduce ms-required and ms-excluded groups for tests. 2017-04-22 18:58:46 +00:00