[MediaWiki-commits] [Gerrit] Run structure tests on extensions - change (mediawiki/core)
jenkins-bot has submitted this change and it was merged. Change subject: Run structure tests on extensions .. Run structure tests on extensions The tests in the structure PHPUnit testsuite are used to verify the Autoloader, ResourceLoader definitions and some basic other tests. They are not run by Jenkins for MediaWiki extensions since we invoke: phpunit.php --testsuite extensions Add the structure directory to the 'extensions' testsuite. That will start enforcing them on all extensions, so need to be merged with care. We will want to backport this patch on all release branches we support and make sure they pass for all extensions/branches :-/ Bug: T78798 Change-Id: Icb88fb3f10d203cfcb61c36c9c92864b92d6739c --- M tests/phpunit/suite.xml 1 file changed, 1 insertion(+), 0 deletions(-) Approvals: Legoktm: Looks good to me, but someone else must approve Hashar: Looks good to me, approved jenkins-bot: Verified diff --git a/tests/phpunit/suite.xml b/tests/phpunit/suite.xml index 574c11e..860408f 100644 --- a/tests/phpunit/suite.xml +++ b/tests/phpunit/suite.xml @@ -39,6 +39,7 @@ filesuites/UploadFromUrlTestSuite.php/file /testsuite testsuite name=extensions + directorystructure/directory filesuites/ExtensionsTestSuite.php/file filesuites/ExtensionsParserTestSuite.php/file filesuites/LessTestSuite.php/file -- To view, visit https://gerrit.wikimedia.org/r/180496 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: Icb88fb3f10d203cfcb61c36c9c92864b92d6739c Gerrit-PatchSet: 2 Gerrit-Project: mediawiki/core Gerrit-Branch: master Gerrit-Owner: Hashar has...@free.fr Gerrit-Reviewer: Hashar has...@free.fr Gerrit-Reviewer: Legoktm legoktm.wikipe...@gmail.com Gerrit-Reviewer: jenkins-bot ___ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
[MediaWiki-commits] [Gerrit] Run structure tests on extensions - change (mediawiki/core)
Hashar has uploaded a new change for review. https://gerrit.wikimedia.org/r/180496 Change subject: Run structure tests on extensions .. Run structure tests on extensions The tests in the structure PHPUnit testsuite are used to verify the Autoloader, ResourceLoader definitions and some basic other tests. They are not run by Jenkins for MediaWiki extensions since we invoke: phpunit.php --testsuite extensions Add the structure directory to the 'extensions' testsuite. That will start enforcing them on all extensions, so need to be merged with care. We will want to backport this patch on all release branches we support and make sure they pass for all extensions/branches :-/ Bug: T78798 Change-Id: Icb88fb3f10d203cfcb61c36c9c92864b92d6739c --- M tests/phpunit/suite.xml 1 file changed, 1 insertion(+), 0 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core refs/changes/96/180496/1 diff --git a/tests/phpunit/suite.xml b/tests/phpunit/suite.xml index 574c11e..860408f 100644 --- a/tests/phpunit/suite.xml +++ b/tests/phpunit/suite.xml @@ -39,6 +39,7 @@ filesuites/UploadFromUrlTestSuite.php/file /testsuite testsuite name=extensions + directorystructure/directory filesuites/ExtensionsTestSuite.php/file filesuites/ExtensionsParserTestSuite.php/file filesuites/LessTestSuite.php/file -- To view, visit https://gerrit.wikimedia.org/r/180496 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Icb88fb3f10d203cfcb61c36c9c92864b92d6739c Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/core Gerrit-Branch: master Gerrit-Owner: Hashar has...@free.fr ___ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits