[wp-trac] [WordPress Trac] #40531: Avoid test skipping for multisite only or single site only tests
WordPress Trac
noreply at wordpress.org
Mon Apr 24 19:11:39 UTC 2017
#40531: Avoid test skipping for multisite only or single site only tests
------------------------------+--------------------------
Reporter: johnbillion | Owner: johnbillion
Type: task (blessed) | Status: closed
Priority: normal | Milestone: 4.8
Component: Build/Test Tools | Version:
Severity: normal | Resolution: fixed
Keywords: needs-patch | Focuses: multisite
------------------------------+--------------------------
Comment (by jdgrimes):
Instead of the new skip methods, you could do something like I did for my
plugin tests by [https://codesymphony.co/creating-your-own-phpunit-
requires-annotations/ creating a custom `@requires` annotation]. 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. Just a
thought.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/40531#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list