forked from sulu/sulu
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathphpunit.xml.dist
37 lines (33 loc) · 1.09 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
<?xml version="1.0" encoding="UTF-8"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="vendor/phpunit/phpunit/phpunit.xsd"
bootstrap="./vendor/autoload.php"
colors="true"
failOnIncomplete="true"
failOnWarning="true"
failOnRisky="true"
>
<coverage>
<include>
<directory>./src/Sulu/Component/</directory>
</include>
<exclude>
<directory>./tests</directory>
<directory>./vendor</directory>
<directory>./*/Tests</directory>
</exclude>
</coverage>
<testsuites>
<testsuite name="components">
<directory suffix="Test.php">./src/Sulu/Component/*/Tests</directory>
</testsuite>
</testsuites>
<php>
<server name="APP_ENV" value="test" force="true"/>
<env name="SYMFONY_DEPRECATIONS_HELPER" value="weak"/>
<ini name="date.timezone" value="UTC"/>
</php>
<listeners>
<listener class="Symfony\Bridge\PhpUnit\SymfonyTestsListener"/>
</listeners>
</phpunit>