-
Notifications
You must be signed in to change notification settings - Fork 6
/
phpunit.xml
41 lines (41 loc) · 1.49 KB
/
phpunit.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
<?xml version="1.0" encoding="UTF-8"?>
<phpunit colors="true"
bootstrap="docroot/core/tests/bootstrap.php"
beStrictAboutTestsThatDoNotTestAnything="true"
beStrictAboutOutputDuringTests="true"
beStrictAboutChangesToGlobalState="true">
<php>
<!-- Set error reporting to E_ALL. -->
<ini name="error_reporting" value="32767"/>
<!-- Do not limit the amount of memory tests take to run. -->
<ini name="memory_limit" value="-1"/>
<!-- To disable deprecation testing uncomment the next line. -->
<!-- <env name="SYMFONY_DEPRECATIONS_HELPER" value="weak_vendors"/> -->
</php>
<testsuites>
<testsuite name="unit">
<directory>./docroot/modules/custom/*/tests/src/Unit</directory>
</testsuite>
</testsuites>
<listeners>
<listener class="Drupal\Tests\Listeners\DrupalListener">
</listener>
<!-- The Symfony deprecation listener has to come after the Drupal listener -->
<listener class="Symfony\Bridge\PhpUnit\SymfonyTestsListener">
</listener>
</listeners>
<!-- Filter for coverage reports. -->
<filter>
<whitelist>
<directory>./docroot/modules/custom</directory>
<exclude>
<directory>./docroot/modules/custom/*/tests</directory>
</exclude>
</whitelist>
</filter>
<logging>
<log type="coverage-html" target="tests/phpunit/results/html"/>
<log type="coverage-clover" target="tests/phpunit/results/coverage.xml"/>
<log type="coverage-text" target="tests/phpunit/results/coverage.txt"/>
</logging>
</phpunit>