Dan Nessett dnessett@yahoo.com writes:
I don't think walking through all the extensions looking for test subdirectories and then running all tests therein is a good idea. First, in a large installation with many extensions, this takes time and delays the test execution.
Globbing for extensions/*/tests/TestSettings.php doesn't take long at all.
However I am looking at a way to test extensions independently of installation.
This means I can't depend on hooks or global variables, so I need another way to find out if an extension has tests available.
Making the developer specify the extension or core tests to run on the RunSeleniumTests command line is irritating (at least, it would irritate me)
No doubt. So why not allow per-user files to set this instead of using LocalSettings.php?
Mark.