forked from contao/core-bundle
-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpunit.xml.dist
67 lines (67 loc) · 3.07 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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
<?xml version="1.0" encoding="UTF-8"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.5/phpunit.xsd" colors="true" defaultTestSuite="core-bundle" bootstrap="vendor/autoload.php">
<coverage>
<include>
<directory>./src</directory>
</include>
<exclude>
<!-- exclude resources that are exempt from testing -->
<directory>./src/Entity</directory>
<directory>./src/Migration/Version*</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>
</coverage>
<php>
<ini name="error_reporting" value="-1"/>
<env name="SYMFONY_DEPRECATIONS_HELPER" value="max[self]=0"/>
<env name="SYMFONY_PATCH_TYPE_DECLARATIONS" value="deprecations=0"/>
<env name="KERNEL_CLASS" value="Contao\CoreBundle\Tests\Functional\app\AppKernel"/>
<env name="APP_SECRET" value="foobar"/>
<env name="DATABASE_URL" value="mysql://root@localhost:3306/contao_test"/>
</php>
<testsuites>
<testsuite name="core-bundle">
<directory>./tests</directory>
<exclude>./tests/Fixtures</exclude>
<exclude>./tests/Functional</exclude>
</testsuite>
<testsuite name="functional">
<directory>./tests/Functional</directory>
<exclude>./tests/Functional/app</exclude>
</testsuite>
<testsuite name="coverage">
<directory>./tests</directory>
<exclude>./tests/Contao</exclude>
<exclude>./tests/Fixtures</exclude>
<exclude>./tests/Functional</exclude>
</testsuite>
</testsuites>
<listeners>
<listener class="Symfony\Bridge\PhpUnit\SymfonyTestsListener">
<arguments>
<array>
<element key="time-sensitive">
<array>
<element key="0"><string>Contao\CoreBundle\Command</string></element>
<element key="1"><string>Contao\CoreBundle\Controller\ContentElement</string></element>
<element key="2"><string>Contao\CoreBundle\Cron\Command</string></element>
<element key="3"><string>Contao\CoreBundle\EventListener\DataContainer</string></element>
<element key="4"><string>Contao\CoreBundle\Security\Authentication\Provider</string></element>
<element key="6"><string>Contao\CoreBundle\Tests\Command</string></element>
<element key="7"><string>Contao\CoreBundle\Tests\Controller\ContentElement</string></element>
<element key="8"><string>Contao\CoreBundle\Tests\Cron</string></element>
<element key="9"><string>Contao\CoreBundle\Tests\EventListener\DataContainer</string></element>
<element key="10"><string>Contao\CoreBundle\Tests\Security\Authentication\Provider</string></element>
</array>
</element>
</array>
</arguments>
</listener>
</listeners>
<extensions>
<extension class="Contao\TestCase\ClearCachePhpunitExtension"/>
</extensions>
</phpunit>