https://bugzilla.wikimedia.org/show_bug.cgi?id=55516
Web browser: ---
Bug ID: 55516
Summary: Unit tests for API modules should bypass API
framework.
Product: MediaWiki extensions
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: WikidataRepo
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Classification: Unclassified
Mobile Platform: ---
Currently, unit tests for API modules emulate HTTP calls and rely on global
state, both in PHP and in the database, to provide fixtures.
To simplify and speed up testing, we need a facility to instantiate API modules
and inject (mock) services into them. Such a facility should be shared by all
API tests.
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l