-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathphpunit.xml.dist
executable file
·36 lines (32 loc) · 1.16 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
<?xml version="1.0" encoding="UTF-8"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="http://schema.phpunit.de/7.0/phpunit.xsd"
colors="true"
defaultTestSuite="unit"
>
<php>
<ini name="error_reporting" value="-1" />
<env name="SYMFONY_DEPRECATIONS_HELPER" value="weak_vendors" />
</php>
<testsuites>
<testsuite name="unit">
<directory>./tests/Unit</directory>
</testsuite>
</testsuites>
<filter>
<whitelist>
<directory>./src</directory>
<exclude>
<directory>./src/Resources</directory>
<directory suffix=".php">./tests</directory>
<!-- exclude files with symbols and side-effects -->
<file>./src/EventListener/UserAwareTrait.php</file>
<file>./src/Exception/ServiceUnavailableException.php</file>
<file>./src/Framework/ScopeAwareTrait.php</file>
</exclude>
</whitelist>
</filter>
<listeners>
<listener class="Symfony\Bridge\PhpUnit\SymfonyTestsListener" />
</listeners>
</phpunit>