Manual talk:PHP unit testing/Writing unit tests for extensions
Add topicAppearance
Latest comment: 11 years ago by SHL in topic I'm a bit confused agout the UnitTestsList hook.
I'm a bit confused agout the UnitTestsList hook.
[edit]Is this complementary to creating a custom suite.[something].xml config file, or does it replace it? I'm wondering since it seems I can run a simple test without problems, just creating a customized suite.xml file and including my extension's test folders there.
--SHL (talk) 14:17, 10 October 2013 (UTC)
- as far as i understand it, you want the UnitTestsList hook in place so that the wiki will be aware of your extensionâs tests and can run them when the wiki runs its tests. the pending changes may also help explain a bit more clearly how to set everything up. Dan-nl (talk) 15:59, 10 October 2013 (UTC)
- Thanks, will have a look at the added info! --SHL (talk) 16:39, 10 October 2013 (UTC)