On Thu, Aug 5, 2010 at 6:47 PM, Mark A. Hershberger <mah(a)everybody.org> wrote:
Can I suggest that the framework can see that an
extension has tests
simply by the presence of the <extensiondir>/tests directory containing a
<Extension>*TestSuite.php file?
IMO, the way parser tests do it is smarter. When you install the
extension, it adds the location of the test files to
$wgParserTestFiles. That way, only the tests associated with
installed extensions will run. If you want to force only particular
tests to run all the time, you can also modify the variable in
LocalSettings.php as usual.