Last modified: 2014-10-07 08:40:07 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T69407, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 67407 - Test conformance of API modules
Test conformance of API modules
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
WikidataRepo (Other open bugs)
unspecified
All All
: Normal normal (vote)
: ---
Assigned To: Wikidata bugs
u=dev c=QA p=5 s=2014-09-23
:
Depends on:
Blocks: 69739
  Show dependency treegraph
 
Reported: 2014-07-02 09:23 UTC by Daniel Kinzler
Modified: 2014-10-07 08:40 UTC (History)
5 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Daniel Kinzler 2014-07-02 09:23:07 UTC
API modules should conform to some conventions, such as declaring possible errors (and defining a system message for them), providing examples, providing descriptions for each possible parameter, etc.

I propose to make a unit test that iterates through all our API modules (based on $wgApiModules) and checks these conventions for each of them.
Comment 1 Lydia Pintscher 2014-07-16 14:12:25 UTC
Lucie is working on this one.
Comment 2 Gerrit Notification Bot 2014-08-06 09:52:33 UTC
Change 151659 had a related patch set uploaded by Lucie Kaffee:
[wip] ApiConventionsTest

https://gerrit.wikimedia.org/r/151659
Comment 3 Jeroen De Dauw 2014-08-22 09:07:02 UTC
system test, not unit test
Comment 4 Gerrit Notification Bot 2014-10-06 13:55:34 UTC
Change 151659 merged by jenkins-bot:
Add ApiConventionsTest

https://gerrit.wikimedia.org/r/151659

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links