Manual talk:PHP unit testing/Writing unit tests for extensions

Add topic

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)[reply]

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)[reply]
Thanks, will have a look at the added info! --SHL (talk) 16:39, 10 October 2013 (UTC)[reply]
Return to "PHP unit testing/Writing unit tests for extensions" page.