forked from alterphp/EasyAdminExtensionBundle
-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpunit.xml.dist
49 lines (45 loc) · 1.81 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
40
41
42
43
44
45
46
47
48
49
<?xml version="1.0" encoding="UTF-8"?>
<!-- http://phpunit.de/manual/4.1/en/appendixes.configuration.html -->
<phpunit backupGlobals="false"
backupStaticAttributes="false"
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
processIsolation="false"
stopOnFailure="false"
bootstrap="tests/bootstrap.php"
>
<testsuites>
<testsuite name="EasyAdmin Extension Bundle test suite">
<directory suffix="Test.php">tests</directory>
</testsuite>
</testsuites>
<!--logging>
<log type="coverage-clover" target="build/logs/clover.xml" />
<log type="coverage-html" target="build/log/report" lowUpperBound="35" highLowerBound="70" />
<log type="coverage-text" target="php://stdout" showUncoveredFiles="false" />
</logging-->
<php>
<!-- Symfony 3.3 and before -->
<server name="KERNEL_DIR" value="./tests/Fixtures/App" />
<!-- Symfony 3.4 and after -->
<server name="KERNEL_CLASS" value="\AppKernel" />
<ini name="error_reporting" value="E_ALL" />
<ini name="display_errors" value="1" />
<ini name="display_startup_errors" value="1" />
<ini name="memory_limit" value="-1" />
<ini name="zend.enable_gc" value="1" />
</php>
<filter>
<whitelist processUncoveredFilesFromWhitelist="true">
<directory suffix=".php">./src</directory>
<exclude>
<directory suffix=".php">./vendor</directory>
<directory suffix=".php">./var</directory>
<directory suffix=".php">./tests</directory>
<directory suffix=".php">./build</directory>
</exclude>
</whitelist>
</filter>
</phpunit>