Dan Nessett <[email protected]> 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.

-- 
http://hexmode.com/

Embrace Ignorance.  Just don't get too attached.

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

Reply via email to