Manual:Unit testing

From MediaWiki.org
(Redirected from Unit testing)
Jump to: navigation, search
Translate this page

Other languages:
Deutsch • ‎English • ‎español • ‎français • ‎italiano • ‎日本語 • ‎polski • ‎português • ‎português do Brasil

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

  • PHPUnit
  • QUnit

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

  • Manual:PHP unit testing
  • Manual:JavaScript unit testing

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

See also[edit | edit source]

  • Continuous integration
Retrieved from "https://www.mediawiki.org/w/index.php?title=Manual:Unit_testing&oldid=1950590"