Wikimedia
Pywikibot: Set up offline unit tests using vcrpy
Pywikibot is a Python-based framework to write bots for MediaWiki (more information).
This task is to improve the code coverage of the Pywikibot library's extensive test suite.
Many of the tests are 'live' tests against specific wikis, and these tests are only run by Travis-CI. (i.e. They not run by jenkins for every change uploaded into Gerrit.)
These tests can be converted to 'dry' (non live) tests by using vcrpy.
The Phabricator task for converting tests to use vcrpy is https://phabricator.wikimedia.org/T184081
You are expected to provide a patch in Wikimedia Gerrit. Documentation on Gerrit is available.
Task tags
Students who completed this task
Phantom42