Project:Sandbox

Core MediaWiki PHP unit tests are in the   directory.

Extensions often have tests in a   subdirectory.


 * 1) man>Special:MyLanguage/Manual:PHP unit testing/Installing PHPUnit|Install PHPUnit using the MediaWiki PHPUnit installer (Note: only works for Unix-like operating systems, such as Ubuntu, Mac OS X, Linux, etc.)

The   option produces a nicer output, with checkboxes, where an unchecked box ( ) means the test failed.
 * 1) man>Special:MyLanguage/Manual:PHP unit testing/Running the unit tests|Run the tests.
 * 1) Restricting the tests:
 * by file:
 * by folder:
 * by 1>Manual:PHP unit testing/Writing unit tests#Grouping tests|group:
 * by target:
 * by 1>Manual:PHP unit testing/Writing unit tests#Grouping tests|group:
 * by target:
 * by target:
 * by target:
 * by target: