On 19/04/2018 23:43, Antoine Musso wrote:
> Hello,
> 
> 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.

Hello,

Quibble is running just fine on MediaWiki core and vendor in the CI
context. The latest version is 0.0.11 which is deployed on CI.


I am running it over the week-end against all MediaWiki extensions and
skins. I will fill bugs next week. You can already trigger it for your
extension and skin: In Gerrit, browse to a change and comment 'check
experimental'.


For developers, there are two major issues:

[T191035] MediaWiki core @Database tests fail with sqlite

[T193222] MariaDB on Stretch uses the utf8mb4 character set. Attempting
to create a key on VARCHAR(192) or larger would cause:
 Error: 1071 Specified key was too long; max key length is 767 bytes

Reducing the key length is the obvious solution and some fields could
use to be converted to ENUM.



Some enhancements have been made and bugs fixed,

[Timo Tihof]
* Qunit is run with MW_SCRIPT_PATH set to '/' instead of ''.
* Run 'npm run selenium-test' instead of 'grunt webdriver:test'. Which
delegates the implementation to MediaWiki developers. T179190

[Antoine Musso]
* Clone repository set in $ZUUL_PROJECT. Typically the repository that
had a job triggered by Gerrit/Zuul.
* chromedriver could not be found if it was in /usr/local/bin. Pass
$PATH from the OS environment before trying to invoke it. Thanks Željko
Filipin.
* Fix git 2.15 by allowing a more recent version of GitPython. It should
be either < 2.1.2 or > 2.1.7. Intermediate versions have performances
regressions. T193057
* Runs on extensions and supports EXT_DEPENDENCIES (it is easier to just
pass repositories to clone as arguments).

[Željko Filipin]
* Fix README git clone example. T192239


Known issues:

[T193164] Lacks of documentation  / tutorial

[T192644] Fails to initialize MySQL on Ubuntu 17/ MySQL 5.7

[T192132] Lack of license

Happy new yea^W^Wweek-end!

-- 
Antoine "hashar" Musso


_______________________________________________
Wikitech-l mailing list
Wikitech-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Reply via email to