-
-
Notifications
You must be signed in to change notification settings - Fork 888
/
phpunit.xml.dist
41 lines (38 loc) · 1.28 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
<?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"
bootstrap="tests/Fixtures/app/bootstrap.php"
colors="true"
cacheDirectory=".phpunit.cache">
<php>
<ini name="error_reporting" value="-1"/>
<ini name="memory_limit" value="-1"/>
<!-- This is necessary for GitHub Actions to work properly -->
<server name="KERNEL_DIR" value="tests/Fixtures/app/"/>
<server name="KERNEL_CLASS" value="AppKernel"/>
<env name="APP_ENV" value="test"/>
<!-- to remove behat extensions in the AppKernel -->
<env name="APP_PHPUNIT" value="true"/>
</php>
<testsuites>
<testsuite name="API Platform Test Suite">
<directory>tests</directory>
</testsuite>
</testsuites>
<groups>
<exclude>
<group>mongodb</group>
<group>mercure</group>
</exclude>
</groups>
<source ignoreSuppressionOfDeprecations="true" ignoreIndirectDeprecations="true" baseline="phpunit.baseline.xml">
<include>
<directory>.</directory>
</include>
<exclude>
<directory>features</directory>
<directory>vendor</directory>
<file>.php-cs-fixer.dist.php</file>
</exclude>
</source>
</phpunit>