https://bugzilla.wikimedia.org/show_bug.cgi?id=68754
Bug ID: 68754
Summary: Add a hook for extensions to prepare unit test
environment
Product: MediaWiki
Version: 1.24-git
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: Unit tests
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected],
[email protected]
Web browser: ---
Mobile Platform: ---
The use case is following:
Extensions like Translate (probably also CirrusSearch) register external
services like ElasticSearch. During unit tests code can create and change
pages. Hooks are executed which call these services with test data but using
the production service.
If there were a hook for preparing the environment, we could setup a test
service or disable the service, depending what makes sense.
--
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l