Extension:MWUnit/Hooks/MWUnitAfterTestComplete

MWUnitAfterTestComplete
Available from version 0.6.3
called after a test has completed, but before the test is added to test results
Define function:
public static function onMWUnitAfterTestComplete( MWUnit\TestRun &$run ) { ... }
Attach hook:
$wgHooks['MWUnitAfterTestComplete'][] = 'MyExtensionHooks::onMWUnitAfterTestComplete';
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:MWUnitAfterTestComplete extensions.

DetailsEdit

  • MWUnit\Runner\TestRun &$run: The TestCaseRun object for this test case.