Major changes:
* (4.0.0) Limited support for stubbing and mocking static methods was removed.
(introduced in PHPUnit 3.5)
* (4.0.0) The addRiskyTest() was added to the PHPUnit_Framework_TestListener interface.
Classes that implement this interface MUST implement this method.
* (4.5.0) The "--strict" catch-all option was deprecated. Use specific options instead.
Notable changes:
* (4.6.0) Tests not annotated with @small, @medium, or @large are no longer default
to matching in group @small.
* (4.6.0) Result printer now checks hasColorSupport().
* (4.8.0) The name of the default group was changed from "__nogroup__" to "default".
* (4.8.0) This is the last release to support PHP 5.3, PHP 5.4, and PHP 5.5.
PHPUnit 5 will require PHP 5.6 or higher.
PHPUnit 3.7.17 was released March 2013.
PHPUnit 4.8.0 was released August 2015.
PHPUnit 4.8.23 was released January 2016.
Details:
* https://github.com/sebastianbergmann/phpunit/wiki/ChangeLog-for-PHPUnit-3.7
* https://github.com/sebastianbergmann/phpunit/wiki/Release-Announcement-for-PHPUnit-4.0.0
* https://github.com/sebastianbergmann/phpunit/wiki/Release-Announcement-for-PHPUnit-4.1.0
* https://github.com/sebastianbergmann/phpunit/wiki/Release-Announcement-for-PHPUnit-4.2.0
* https://github.com/sebastianbergmann/phpunit/wiki/Release-Announcement-for-PHPUnit-4.3.0
* https://github.com/sebastianbergmann/phpunit/wiki/Release-Announcement-for-PHPUnit-4.4.0
* https://github.com/sebastianbergmann/phpunit/wiki/Release-Announcement-for-PHPUnit-4.5.0
* https://github.com/sebastianbergmann/phpunit/wiki/Release-Announcement-for-PHPUnit-4.6.0
* https://github.com/sebastianbergmann/phpunit/wiki/Release-Announcement-for-PHPUnit-4.7.0
* https://github.com/sebastianbergmann/phpunit/wiki/Release-Announcement-for-PHPUnit-4.8.0
Bug: T99982
Change-Id: I70ad81513812aa76a84fa55be14135aac94d55e8
70 lines
2.1 KiB
XML
70 lines
2.1 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<phpunit bootstrap="./bootstrap.php"
|
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
xsi:noNamespaceSchemaLocation="http://schema.phpunit.de/4.8/phpunit.xsd"
|
|
|
|
colors="true"
|
|
backupGlobals="false"
|
|
convertErrorsToExceptions="true"
|
|
convertNoticesToExceptions="true"
|
|
convertWarningsToExceptions="true"
|
|
forceCoversAnnotation="true"
|
|
stopOnFailure="false"
|
|
timeoutForSmallTests="10"
|
|
timeoutForMediumTests="30"
|
|
timeoutForLargeTests="60"
|
|
beStrictAboutTestsThatDoNotTestAnything="true"
|
|
beStrictAboutOutputDuringTests="true"
|
|
beStrictAboutTestSize="true"
|
|
verbose="true">
|
|
<testsuites>
|
|
<testsuite name="includes">
|
|
<directory>includes</directory>
|
|
</testsuite>
|
|
<testsuite name="languages">
|
|
<directory>languages</directory>
|
|
</testsuite>
|
|
<testsuite name="parsertests">
|
|
<file>includes/parser/MediaWikiParserTest.php</file>
|
|
<file>suites/ExtensionsParserTestSuite.php</file>
|
|
</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>
|