< Extension:MWUnit < Hooks
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
- TestSuite &$test_suite: TestSuite that is about to be run.
This article is issued from Mediawiki. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.