Manual:PHP unit testing/en

Introduction
We do unit testing of MediaWiki's PHP code base using the $2 framework. View our test coverage.

Core MediaWiki PHP unit tests are in the $1 directory. The directory structure roughly matches that of the code being tested. For example: you can find the unit tests for file $1 in $2.

Extensions often have tests in a $1 subdirectory.

Use the navigation table or the links below to browse through this manual, or begin your journey by installing PHPUnit.