Extension:MWUnit/Hooks/MWUnitAfterInitializeTestRun

MWUnitAfterInitializeTestRun
Available from version 2.0.0
called after the given TestRun object is initialized
Define function:
public static function onMWUnitAfterInitializeTestRun( TestRun &$test_run ) { ... }
Attach hook:
$wgHooks['MWUnitAfterInitializeTestRun'][] = 'MyExtensionHooks::onMWUnitAfterInitializeTestRun';
Called from:File(s): MWUnit / src/Runner/BaseTestRunner.php
Function(s): run

For more information about attaching hooks, see Manual:Hooks .
For examples of other extensions using this hook, see Category:MWUnitAfterInitializeTestRun extensions.

DetailsEdit

  • TestRun &$test_run: TestRun object that was initialized.