-
Notifications
You must be signed in to change notification settings - Fork 5
/
phpunit.xml.dist
39 lines (38 loc) · 1.38 KB
/
phpunit.xml.dist
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
<?xml version="1.0" encoding="UTF-8"?>
<phpunit bootstrap="tests/bootstrap.php" colors="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"/>
</php>
<testsuites>
<testsuite name="Akamai Unit Test Suite">
<directory>./tests</directory>
</testsuite>
</testsuites>
<listeners>
<listener class="\Drupal\Tests\Standards\DrupalStandardsListener">
</listener>
</listeners>
<!-- Filter for coverage reports. -->
<filter>
<whitelist>
<directory>./src</directory>
<!-- By definition test classes have no tests. -->
<exclude>
<directory suffix="Test.php">./</directory>
<directory suffix="TestBase.php">./</directory>
<!-- Exclude Drupal UI/event things that are covered by SimpleTest. -->
<directory suffix=".php">./src/Controller</directory>
<directory suffix=".php">./src/EventSubscriber</directory>
<directory suffix=".php">./src/Form</directory>
<directory suffix=".php">./src/Plugin</directory>
</exclude>
</whitelist>
</filter>
<logging>
<log type="coverage-text" target="php://stdout" showUncoveredFiles="true"/>
<!--<log type="coverage-html" target="coverage" showUncoveredFiles="true"/>-->
</logging>
</phpunit>