Hello,

I found out we do not run on extensions the 'structure' testsuite of
mediawiki/core.  It is made of three tests in tests/phpunit/structure

AutoLoaderTest.php  verify classes are properly registered, and the
autloader entries point to an actual file

ResourcesTest.php ditto for the Resource Loader
StructureTest.php  makes sure test files ends with Test.php


Jenkins runs on extensions the 'extension' testsuite, I will add the
'structure' directory to it tomorrow morning ~9am UTC.

You can verify whether your extension pass by running:

 php tests/phpunit/phpunit.php --testsuite structure


The patch for core is: https://gerrit.wikimedia.org/r/#/c/180496/

Ideally we should backport it to REL branches as well.

Filled as https://phabricator.wikimedia.org/T78798


-- 
Antoine "hashar" Musso


_______________________________________________
Wikitech-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Reply via email to