Skip to content

Latest commit

 

History

History
21 lines (16 loc) · 814 Bytes

testing.md

File metadata and controls

21 lines (16 loc) · 814 Bytes

Testing

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 tests
  • composer 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.