Translations:Manual:PHP unit testing/Writing unit tests/99/en

You will want to extend one of the MediaWiki test classes.