Are there any standard patterns for tests that need to set some wiki configuration, or depend on wiki configuration to run? For instance, a test for a feature that’s behind a feature flag and disabled by default.
Topic on Talk:MediaWiki API integration tests
We currently don't have something like that but it could be added as part of the work to disable certain tests depending on extensions: https://phabricator.wikimedia.org/T243977