forked from tarlepp/symfony-flex-backend
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathphpunit.xml.dist
More file actions
60 lines (55 loc) · 2.09 KB
/
phpunit.xml.dist
File metadata and controls
60 lines (55 loc) · 2.09 KB
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
50
51
52
53
54
55
56
57
58
59
60
<?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/6.1/phpunit.xsd"
backupGlobals="false"
colors="true"
bootstrap="tests/bootstrap.php"
printerClass="Codedungeon\PHPUnitPrettyResultPrinter\Printer"
>
<php>
<ini name="error_reporting" value="-1" />
<ini name="display_errors" value="On" />
<ini name="display_startup_errors" value="On" />
<ini name="date.timezone" value="UTC" />
<env name="KERNEL_CLASS" value="App\Kernel" />
<env name="APP_ENV" value="test" />
<env name="APP_DEBUG" value="1" />
<env name="APP_SECRET" value="s$cretf0rt3st" />
<env name="SHELL_VERBOSITY" value="-1" />
</php>
<listeners>
<listener class="Symfony\Bridge\PhpUnit\SymfonyTestsListener" />
</listeners>
<testsuites>
<testsuite name="Functional tests">
<directory>./tests/Functional/</directory>
</testsuite>
<testsuite name="Integration tests">
<directory>./tests/Integration/</directory>
</testsuite>
<testsuite name="Unit tests">
<directory>./tests/Unit/</directory>
</testsuite>
</testsuites>
<filter>
<whitelist>
<directory>./src</directory>
<exclude>
<file>src/Kernel.php</file>
</exclude>
<exclude>
<directory>src/DataFixtures</directory>
</exclude>
<exclude>
<directory>src/Command</directory>
</exclude>
</whitelist>
</filter>
<logging>
<log type="coverage-html" target="build/report" lowUpperBound="55" highLowerBound="90" />
<log type="coverage-clover" target="build/logs/clover.xml" />
<log type="coverage-text" target="php://stdout" showOnlySummary="true" />
<log type="junit" target="build/logs/junit.xml" />
</logging>
</phpunit>