[wp-trac] [WordPress Trac] #40531: Avoid test skipping for multisite only or single site only tests
WordPress Trac
noreply at wordpress.org
Tue Apr 25 17:43:52 UTC 2017
#40531: Avoid test skipping for multisite only or single site only tests
------------------------------+--------------------------
Reporter: johnbillion | Owner: johnbillion
Type: task (blessed) | Status: reopened
Priority: normal | Milestone: 4.8
Component: Build/Test Tools | Version:
Severity: normal | Resolution:
Keywords: needs-patch | Focuses: multisite
------------------------------+--------------------------
Changes (by johnbillion):
* status: closed => reopened
* resolution: fixed =>
Comment:
Replying to [comment:8 jdgrimes]:
You could probably make it so that the `@group` annotations automatically
triggered these methods, so that there'd be no need to call them manually.
I did consider this but for some reason I thought that custom annotations
required PHPUnit 4.x+, which only works on PHP 5.3+. It would be
preferable to only have to specify once that the test requires or excludes
multisite.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/40531#comment:9>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list