Wikimedia

Pywikibot: Document unit test decorators

See https://phabricator.wikimedia.org/T152068

There are a few custom decorators available for the pywikibot test suite. They should be documented in tests/README.rst .

Pywikibot has an extensive test suite . Part of the test suite is run during the code review cycle, and additional tests are run on Travis-CI when the change is merged.

Pywikibot is a Python-based framework to write bots for MediaWiki. See https://www.mediawiki.org/wiki/Manual:Pywikibot for more information, and https://www.mediawiki.org/wiki/Manual:Pywikibot/PAWS for a short online interactive tutorial. Patches can be submitted via Gerrit (you need a MediaWiki.org account). See https://www.mediawiki.org/wiki/Manual:Pywikibot/Gerrit. After you have successfully claimed this task on this site please do use the task in Phabricator for communication instead. This allows more PWB developers to be reached! General development questions can be asked on the Pywikibot mailing list at https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l and the #pywikibot IRC channel (see https://www.mediawiki.org/wiki/MediaWiki_on_IRC ).

Task tags

  • python
  • restructuredtext
  • unit tests
  • decorators

Students who completed this task

dgs

Task type

  • chrome_reader_mode Documentation / Training
  • done_all Quality Assurance
close

2016