HomePhabricator
Introducing Quibble
A test runner for MediaWiki

Running all tests for MediaWiki and matching what CI/Jenkins is running has been a constant challenge for everyone, myself included. Today I am introducing Quibble, a python script that clone MediaWiki, set it up and run test commands.

It is a follow up to the Vienna Hackathon in 2017. We had a lot of discussion to make the CI jobs reproducible on a local machine and to unify the logic at a single place. Today, I have added a few jobs to
mediawiki/core.

An immediate advantage is that they run in Docker containers and will start running as soon as an execution slot is available. That will be faster than the old jobs (suffixed with -jessie) that had to wait for a
virtual machine to be made available.

A second advantage, is one can exactly reproduce the build on a local computer and even hack code for a fix up.

The setup guide is available from the source repository (integration/quibble.git):
https://gerrit.wikimedia.org/g/integration/quibble/

The minimal example would be:

git clone https://gerrit.wikimedia.org/r/p/integration/quibble
cd quibble
python3 -m pip install -e .
quibble

A few more details are available in this post on the QA list:
https://lists.wikimedia.org/pipermail/qa/2018-April/002699.html

Please give it a try and send issues, support requests to Phabricator Quibble project.

It will eventually used for all MediaWiki extensions and skins as well.

Written by hashar on Apr 30 2018, 9:09 AM.
Logistics
Projects
Subscribers
zeljkofilipin, Release-Engineering-Team
Tokens
"Like" token, awarded by Prtksxna."Like" token, awarded by Gilles.