-
Notifications
You must be signed in to change notification settings - Fork 13
/
phpunit.xml
49 lines (43 loc) · 1.6 KB
/
phpunit.xml
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
<?xml version="1.0" encoding="UTF-8"?>
<!-- http://www.phpunit.de/manual/current/en/appendixes.configuration.html -->
<phpunit
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/8.5/phpunit.xsd"
colors = "true"
failOnWarning = "true"
bootstrap = "autoload.php" >
<testsuites>
<testsuite name="unit">
<directory>Tests/Unit</directory>
</testsuite>
<!-- <testsuite name="functional">
<directory>Tests/Functional</directory>
</testsuite> -->
<testsuite name="all">
<directory>Tests/Unit</directory>
<!-- <directory>Tests/Functional</directory> -->
</testsuite>
</testsuites>
<php>
<env name="KERNEL_CLASS" value="AppTestKernel" />
<server name="KERNEL_DIR" value="app" />
<env name="SYMFONY_DEPRECATIONS_HELPER" value="weak" />
</php>
<filter>
<whitelist>
<directory>*</directory>
<exclude>
<directory>Assets</directory>
<directory>Config</directory>
<directory>Tests</directory>
<directory>Translations</directory>
<directory>Views</directory>
<directory>vendor</directory>
</exclude>
</whitelist>
</filter>
<listeners>
<listener class="\Symfony\Bridge\PhpUnit\SymfonyTestsListener" />
<listener class="\Mautic\CoreBundle\Test\Listeners\CleanupListener" />
</listeners>
</phpunit>