-
-
Notifications
You must be signed in to change notification settings - Fork 111
Expand file tree
/
Copy pathphpunit-9.xml.dist
More file actions
50 lines (46 loc) · 1.9 KB
/
Copy pathphpunit-9.xml.dist
File metadata and controls
50 lines (46 loc) · 1.9 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
<?xml version="1.0" encoding="UTF-8"?>
<!-- https://phpunit.de/manual/current/en/appendixes.configuration.html -->
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.6/phpunit.xsd"
bootstrap="tests/bootstrap.php"
colors="true"
failOnRisky="true"
failOnWarning="true"
defaultTestSuite="main"
>
<php>
<ini name="error_reporting" value="-1" />
<server name="KERNEL_CLASS" value="Zenstruck\Foundry\Tests\Fixture\TestKernel" />
<server name="SHELL_VERBOSITY" value="-1" />
<env name="SYMFONY_DEPRECATIONS_HELPER" value="max[self]=0&max[direct]=0&quiet[]=indirect&quiet[]=other&ignoreFile=./tests/baseline-ignore"/>
<env name="APP_ENV" value="test"/>
</php>
<testsuites>
<testsuite name="main">
<!--
Let's run "WebTestCase" tests in the first place, to ensure the error
"Booting the kernel before calling "WebTestCase::createClient()" is not supported"
is not hidden by the other test.
-->
<directory>tests/WebTestCase/</directory>
<directory>tests/Integration</directory>
<directory>tests/Unit</directory>
<exclude>tests/Integration/ResetDatabase</exclude>
<exclude>tests/Integration/ForceFactoriesTraitUsage</exclude>
</testsuite>
<testsuite name="reset-database">
<directory>tests/Integration/ResetDatabase</directory>
</testsuite>
<testsuite name="unit">
<directory>tests/Unit</directory>
</testsuite>
</testsuites>
<coverage>
<include>
<directory>src</directory>
</include>
</coverage>
<listeners>
<listener class="Symfony\Bridge\PhpUnit\SymfonyTestsListener"/>
</listeners>
</phpunit>