FANDOM


Template:Manual:PHP unit testing/navigation



Introduction Edit

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



Core MediaWiki PHP unit tests are in the tests/phpunit directory.

The directory structure roughly matches that of the code being tested.

For example: you can find the unit tests for file includes/IP.php</tt> in tests/phpunit/includes/IPTest.php.



Extensions often have tests in a tests subdirectory.



Use the navigation table along this text to browse through this manual or begin your journey by installing PHPUnit.  

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.