Manual:PHP unit testing/de-formal

Einführung
Wir führen Unit-Tests der MediaWiki's PHP-Code-Basis mit dem PHPUnit-Framework durch. Sehen Sie sich die Testabdeckung des MediaWiki-Kerns an.

MediaWiki core's PHP unit and integration tests are in the  directory. When adding new tests, unit tests should be placed in  and integration tests should be placed in   The directory structure roughly matches that of the code being tested. For example: you can find the unit tests for file  in.

Extensions should have PHPUnit tests in a  subdirectory, using subdirectories to separate unit and integration tests, e.g.   and.

Use the navigation table or the links below to browse through this manual.