GSoC/GCI Archive
Google Code-in 2014 Wikimedia Foundation

Build a test case for the Pywikibot library

completed by: Davis

mentors: Fabian, John Vandenberg

Pywikibot is a Python-based framework to write bots for MediaWiki. See for more information. Patches can be submitted via Gerrit (you need a account). More documentation on Gerrit can be found at After you have successfully claimed this task in Google Melange please do use the task in Phabricator for communication instead of Google Melange. This allows more PWB developers to be reached! General development questions can be asked on the Pywikibot mailing list at and the #pywikibot IRC channel (see

Improve the code coverage (see ) of the Pywikibot library test suite. Run "coverage" using instructions on and select a set of lines of code that are not yet exercised by the extensive test suite. Add a unit test which exercises that set of lines of code to the test suite, and after the code is merged it will be automatically tested on travis-ci. Create bugs for any failures encountered.  See as an example of this task.

Students are required to read Wikimedia's general instructions at first.

Always refer to for general information and for information on specific tasks.