< Extension:MWUnit < Hooks
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

  • TestRunStore &$test_run_store: TestRunStore object that contains all test that were ran.
This article is issued from Mediawiki. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.