-
Notifications
You must be signed in to change notification settings - Fork 7
/
phpunit.xml.dist
46 lines (43 loc) · 1.73 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
<?xml version="1.0" encoding="UTF-8"?>
<!-- https://phpunit.de/manual/current/en/appendixes.configuration.html -->
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="http://schema.phpunit.de/4.8/phpunit.xsd"
backupGlobals="false"
colors="true"
bootstrap="vendor/autoload.php"
stopOnFailure="false"
>
<php>
<ini name="error_reporting" value="-1" />
<env name="SYMFONY_DEPRECATIONS_HELPER" value="weak"/>
<env name="KERNEL_DIR" value="src/App" />
<env name="KERNEL_CLASS" value="Kernel" />
<env name="APP_ENV" value="test" force="true"/>
<env name="APP_DEBUG" value="1" force="true"/>
</php>
<testsuites>
<testsuite name="App Test Suite">
<directory>src/App</directory>
</testsuite>
<testsuite name="Component Test Suite">
<directory>src/Component</directory>
</testsuite>
<testsuite name="Third Party Test Suite">
<directory>src/ThirdParty</directory>
</testsuite>
</testsuites>
<filter>
<whitelist>
<directory suffix=".php">src</directory>
<exclude>
<directory suffix=".php">src/*/*/Formatter</directory>
<directory suffix=".php">src/*/*/Resources</directory>
<directory suffix=".php">src/*/*/Tests</directory>
<directory suffix=".php">src/*/*/Test</directory>
<directory suffix=".php">src/App/Compat</directory>
<directory suffix=".php">src/ThirdParty/*/Webhook/Tests</directory>
<file>src/App/Kernel.php</file>
</exclude>
</whitelist>
</filter>
</phpunit>