forked from shopsys/project-base
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathphpunit.xml
More file actions
58 lines (54 loc) · 1.88 KB
/
phpunit.xml
File metadata and controls
58 lines (54 loc) · 1.88 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
<?xml version="1.0" encoding="UTF-8"?>
<!-- http://www.phpunit.de/manual/current/en/appendixes.configuration.html -->
<phpunit
backupGlobals="false"
backupStaticAttributes="false"
bootstrap="config/bootstrap.php"
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
processIsolation="false"
stopOnFailure="false"
failOnWarning="true"
beStrictAboutTestsThatDoNotTestAnything="false"
>
<php>
<env name="KERNEL_CLASS" value="App\Kernel" />
<env name="APP_ENV" value="test" />
<env name="APP_DEBUG" value="false" />
<ini name="memory_limit" value="768MB" />
</php>
<testsuites>
<testsuite name="Unit">
<directory>tests/App/Unit</directory>
</testsuite>
<testsuite name="Functional">
<directory>tests/App/Functional</directory>
<directory>tests/*Bundle/Functional</directory>
</testsuite>
<testsuite name="Smoke">
<directory>tests/App/Smoke</directory>
</testsuite>
<testsuite name="Performance">
<directory>tests/App/Performance</directory>
</testsuite>
</testsuites>
<filter>
<whitelist>
<directory>src</directory>
<directory>tests</directory>
<exclude>
<directory>src/*/Resources</directory>
<directory>tests/App/Unit</directory>
<directory>tests/App/Functional</directory>
<directory>tests/App/Smoke</directory>
<directory>tests/App/Performance</directory>
<directory>tests/*Bundle/Functional</directory>
</exclude>
</whitelist>
</filter>
<listeners>
<listener class="Zalas\Injector\PHPUnit\TestListener\ServiceInjectorListener" />
</listeners>
</phpunit>