Unit testing in MediaWiki is performed using the following two frameworks for the PHP backend and JavaScript frontend respectively:

For more information about how these are used in the MediaWiki infrastructure, the following manual pages have been written:

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

See also Edit