Extension:MWUnit/Hooks/MWUnitAfterTests

From mediawiki.org
MWUnitAfterTests
Available from version 2.0.0
called after all tests have been run
Define function:
public static function onMWUnitAfterTests( TestRunStore &$test_run_store ) { ... }
Attach hook:
$wgHooks['MWUnitAfterTests'][] = 'MyExtensionHooks::onMWUnitAfterTests';
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:MWUnitAfterTests extensions.

Details[edit]

  • TestRunStore &$test_run_store: TestRunStore object that contains all test that were ran.