-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathphpunit.xml
More file actions
35 lines (33 loc) · 1.2 KB
/
phpunit.xml
File metadata and controls
35 lines (33 loc) · 1.2 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
<?xml version="1.0" encoding="UTF-8"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.0/phpunit.xsd"
bootstrap="vendor/autoload.php"
executionOrder="depends,defects"
requireCoverageMetadata="true"
beStrictAboutCoverageMetadata="true"
beStrictAboutOutputDuringTests="true"
failOnRisky="true"
failOnWarning="true">
<testsuites>
<testsuite name="default">
<directory>tests</directory>
</testsuite>
</testsuites>
<php>
<server name="KERNEL_CLASS" value="MicroApi\Kernel" />
<env name="APP_ENV" value="test" force="true"/>
<env name="APP_DEBUG" value="false" />
<env name="JWT_KEY" value="micro.api.secure.jwt.key" />
<env name="JWT_LIFETIME" value="300" />
<env name="SYMFONY_DEPRECATIONS_HELPER" value="disabled" />
</php>
<coverage>
<include>
<directory suffix=".php">src</directory>
</include>
<exclude>
<file>src/Subscriber/Exception.php</file>
<file>src/Kernel.php</file>
</exclude>
</coverage>
</phpunit>