Add unit tests to support the functionality in the WikimediaApiPortal skin
Description
Details
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Resolved | • eprodromou | T235270 Wikimedia API Gateway | |||
Resolved | apaskulin | T247837 Create API Portal MVP | |||
Resolved | apaskulin | T251279 Create API Portal skin | |||
Resolved | CCicalese_WMF | T258758 Write unit tests for WikimediaApiPortal |
Event Timeline
I would argue that the priority of this task should be high. We are running new code with zero test coverage in production cluster. We are trying to increase coverage for old code, and adding new code to the problem is not really acceptable. Plus, as the time passes it's going to get harder and harder to provide appropriate coverage as the context of all the lines of code is getting washed away.
Change 623651 had a related patch set uploaded (by Ppchelko; owner: Ppchelko):
[mediawiki/skins/WikimediaApiPortal@master] Demo: Add tests for Skin and for Template
Unbreak now is too much for this, it's used for production issues affecting users en mass, this definitely doesn't qualify.
Change 630318 had a related patch set uploaded (by Cicalese; owner: Cicalese):
[mediawiki/skins/WikimediaApiPortal@master] WIP: Refactor to facilitate writing unit tests.
Change 623651 abandoned by Cicalese:
[mediawiki/skins/WikimediaApiPortal@master] Demo: Add tests for Skin and for Template
Reason:
Incorporated into Ia7c434ecfc805d299703c2f43c08c23822f59683.
Change 630318 merged by jenkins-bot:
[mediawiki/skins/WikimediaApiPortal@master] Refactor to facilitate writing unit tests.