Manual:Unit testing

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:


 *  - using the PHPUnit test framework
 *  1>Special:MyLanguage/Manual:JavaScript unit testing|Manual:JavaScript unit testing  - using the QUnit framework

Unit tests should follow [http://www.artima.com/weblogs/viewpost.jsp?thread=126923 A Set of Unit Testing Rules] by Michael Feathers.