[buddypress-trac] [BuddyPress Trac] #6162: Tests requiring multisite should be marked as skipped in non-multisite environments

buddypress-trac noreply at wordpress.org
Sat Jan 24 14:23:38 UTC 2015


#6162: Tests requiring multisite should be marked as skipped in non-multisite
environments
----------------------------------------+-----------------------------
 Reporter:  DJPaul                      |       Owner:
     Type:  enhancement                 |      Status:  new
 Priority:  normal                      |   Milestone:  Future Release
Component:  Unit Tests                  |     Version:
 Severity:  normal                      |  Resolution:
 Keywords:  needs-patch good-first-bug  |
----------------------------------------+-----------------------------
Changes (by boonebgorges):

 * keywords:   => needs-patch good-first-bug
 * milestone:  Awaiting Review => Future Release


Comment:

 +1. When possible, it makes the most sense to put multisite-specific (or
 non-multisite-specific) tests into their own files/classes, with a
 `markTestSkipped()` declaration in `setUp()`. But where this is not
 possible, we should mark skipped within the tests.

--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/6162#comment:1>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list