Manual:Hooks/UnitTestsList
From MediaWiki.org
UnitTestsList | |
---|---|
Available from version 1.17.0 (r68673) Allows extensions to extend core's PHPUnit test suite |
|
Define function: |
public static function onUnitTestsList( array &$files ) { ... } |
Attach hook: |
$wgHooks['UnitTestsList'][] = 'MyExtensionHooks::onUnitTestsList'; |
Called from: | File(s): ExtensionsTestSuite.php |
For more information about attaching hooks, see Manual:Hooks.
For examples of extensions using this hook, see Category:UnitTestsList extensions.
UnitTestsList allows registration of additional test suite to execute with PHPUnit. Extensions can append paths to files to the $files array.