Extension:MWUnit/Hooks/MWUnitBeforeFirstTest
MWUnitBeforeFirstTest | |
---|---|
Available from version ??? called before the first test is ran; the tests will not be run if false is returned |
|
Define function: | public static function onMWUnitBeforeFirstTest( TestSuite &$test_suite ) { ... }
|
Attach hook: | $wgHooks['MWUnitBeforeFirstTest'][] = 'MyExtensionHooks::onMWUnitBeforeFirstTest';
|
Called from: | File(s): MWUnit / src/Runner/TestSuiteRunner.php Function(s): run |
For more information about attaching hooks, see Manual:Hooks .
For examples of other extensions using this hook, see Category:MWUnitBeforeFirstTest extensions.
Details
edit- TestSuite &$test_suite: TestSuite that is about to be run.