wiki.techinc.nl/tests/phpunit/suite.xml
Antoine Musso 583c9989d0 tests: add structure and less tests to 'skins' suite
To add integration jobs for the MediaWiki skins, we will use the 'skins'
test suite.  Add the structure and less validator tests to it.  The
skins would then be tested using something like:

 php tests/phpunit/phpunit.php --testsuite skins

Bug: T68926
Change-Id: I1be4454b1aa7935ec2e9ac3703eee3907e5101e8
2015-08-25 14:52:52 +02:00

66 lines
1.8 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<!--
Colors don't work on Windows!
phpunit.php enables colors for other OSs at runtime
-->
<phpunit bootstrap="./bootstrap.php"
colors="false"
backupGlobals="false"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
forceCoversAnnotation="true"
stopOnFailure="false"
timeoutForSmallTests="10"
timeoutForMediumTests="30"
timeoutForLargeTests="60"
strict="true"
verbose="true">
<testsuites>
<testsuite name="includes">
<directory>includes</directory>
</testsuite>
<testsuite name="languages">
<directory>languages</directory>
</testsuite>
<testsuite name="skins">
<directory>skins</directory>
<directory>structure</directory>
<file>suites/LessTestSuite.php</file>
</testsuite>
<!-- As there is a class Maintenance, we cannot use the
name "maintenance" directly -->
<testsuite name="maintenance_suite">
<directory>maintenance</directory>
</testsuite>
<testsuite name="structure">
<directory>structure</directory>
</testsuite>
<testsuite name="uploadfromurl">
<file>suites/UploadFromUrlTestSuite.php</file>
</testsuite>
<testsuite name="extensions">
<directory>structure</directory>
<file>suites/ExtensionsTestSuite.php</file>
<file>suites/ExtensionsParserTestSuite.php</file>
<file>suites/LessTestSuite.php</file>
</testsuite>
</testsuites>
<groups>
<exclude>
<group>Utility</group>
<group>Broken</group>
<group>ParserFuzz</group>
<group>Stub</group>
</exclude>
</groups>
<filter>
<whitelist addUncoveredFilesFromWhitelist="true">
<directory suffix=".php">../../includes</directory>
<directory suffix=".php">../../languages</directory>
<directory suffix=".php">../../maintenance</directory>
<directory suffix=".php">../../skins</directory>
</whitelist>
</filter>
</phpunit>