-
Notifications
You must be signed in to change notification settings - Fork 19
/
phpunit.xml.dist
46 lines (40 loc) · 1.61 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"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="vendor/phpunit/phpunit/phpunit.xsd"
backupGlobals="false"
colors="true"
bootstrap="Tests/test-bootstrap.php"
>
<php>
<ini name="error_reporting" value="-1" />
<server name="APP_ENV" value="test" force="true" />
<server name="SHELL_VERBOSITY" value="-1" />
<!-- See: https://symfony.com/doc/current/components/phpunit_bridge.html#modified-phpunit-script -->
<env name="SYMFONY_DEPRECATIONS_HELPER" value="weak"/>
<env name="KERNEL_CLASS" value="Sulu\Bundle\ContentBundle\Tests\Application\Kernel"/>
</php>
<testsuites>
<testsuite name="Sulu Content Bundle Unit">
<directory>./Tests/Unit</directory>
</testsuite>
<testsuite name="Sulu Content Bundle Functional">
<directory>./Tests/Functional</directory>
</testsuite>
</testsuites>
<coverage processUncoveredFiles="true">
<include>
<directory suffix=".php">.</directory>
</include>
<exclude>
<directory>Resources/</directory>
<directory>TestCases/</directory>
<directory>Tests/</directory>
<directory>vendor/</directory>
<file>.php-cs-fixer.dist.php</file>
<file>Content/Infrastructure/Sulu/Structure/RoutableStructureInterface.php</file>
</exclude>
</coverage>
<listeners>
<listener class="Symfony\Bridge\PhpUnit\SymfonyTestsListener" />
</listeners>
</phpunit>