Rename MediaWikiParserTestSuite class to MediaWikiParserTest. This way, it matches its file basename, which makes phpunit not to consider, when loading MediaWikiParserText.php, the ParserUnitTest (coming from ParserHelpers.php require) as a standalone test class, which is what was producing the warning: No tests found in class "ParserUnitTest".
All tests pass for me now:
Tests: 752, Assertions: 3706, Incomplete: 2.
Incomplete tests are testApiListPages() and testWatchRollback()
require_once( dirname( __FILE__ ) . '/ParserHelpers.php' );
-class MediaWikiParserTestSuite extends PHPUnit_Framework_TestSuite {
+class MediaWikiParserTest extends PHPUnit_Framework_TestSuite {
private $count;
public $backend;
convertWarningsToExceptions="true"
stopOnFailure="false">
<testsuites>
- <testsuite name="includes">
- <directory>./includes</directory>
- </testsuite>
<testsuite name="includes">
<directory>./includes</directory>
</testsuite>