On Fri, May 24, 2013 at 2:29 AM, Arthur Richards
<[email protected]> wrote:
>
> After some digging it became obvious that adding classes that are not test
> cases using 'UnitTestsList' just doesn't work since PHPUnit will only
> actually add the files that contain test cases.

Actually, it depends on how you run PHPUnit on your extension.

If you do 'php phpunit.php /path/to/your/extension/', it will add any
file ending in "Test.php" that seems to contain a unit test.

If you do 'php phpunit.php --filter ExtensionName', it will use the
UnitTestsList hook.


-- 
Brad Jorsch
Software Engineer
Wikimedia Foundation

_______________________________________________
Wikitech-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Reply via email to