Manual:Unit testing/en

Unit testing in MediaWiki is performed using two different frameworks for the PHP backend and JavaScript frontend. For more information about how these are used in the MediaWiki infrastructure, please refer to the appropriate manual page:


 * Manual:PHP unit testing - using the PHPUnit test framework
 * Manual:JavaScript unit testing - using the QUnit framework

Unit tests should follow A Set of Unit Testing Rules by Michael Feathers.