This extension provides unit and integration tests that are run by a
continuous integration platform but can also be executed using the
composer phpunit
command from the extension base directory that will
run all tests.
In order to run only a specific test suit, the following commands are provided for convenience:
composer unit
to run all unit testscomposer integration
to run all integration tests (which requires an active MediaWiki, DB connection)composer parser
to run only the parser tests from the integration suite (see prerequisites above)
See Information on unit testing if you want to expand the tests yourself.