mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
0d788ddfbc
* Add phpunit.xml.dist for code coverage whitelist * Fixed @covers with namespaces * Increase memory_limit to allow code coverage run. phpdbg can peak to more than 1GB built-in. Travis allows up to 3GB of useable memory: https://docs.travis-ci.com/user/common-build-problems/#My-build-script-is-killed-without-any-error https://docs.travis-ci.com/user/ci-environment/#Virtualization-environments https://github.com/silverstripe/silverstripe-cms/pull/1631
21 lines
429 B
XML
21 lines
429 B
XML
<phpunit bootstrap="tests/bootstrap.php" colors="true">
|
|
|
|
<testsuite name="Default">
|
|
<directory>tests</directory>
|
|
</testsuite>
|
|
|
|
<listeners>
|
|
<listener class="SilverStripe\Dev\TestListener" />
|
|
</listeners>
|
|
|
|
<filter>
|
|
<whitelist addUncoveredFilesFromWhitelist="true">
|
|
<directory suffix=".php">.</directory>
|
|
<exclude>
|
|
<directory suffix=".php">tests/</directory>
|
|
</exclude>
|
|
</whitelist>
|
|
</filter>
|
|
|
|
</phpunit>
|