-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathphpunit.coverage.xml
40 lines (36 loc) · 1.15 KB
/
phpunit.coverage.xml
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
<?xml version="1.0" encoding="UTF-8"?>
<!-- https://phpunit.readthedocs.io/en/latest/configuration.html -->
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd"
backupGlobals="false"
colors="true"
cacheResult="false"
bootstrap="vendor/autoload.php">
<!--
This configuration is to run the tests and generate a coverage report at
var/cache/test/coverage.
Use it like so:
php -d zend_extension=xdebug.so -d xdebug.mode=coverage vendor/bin/phpunit -c phpunit.coverage.xml
-->
<php>
<ini name="error_reporting" value="-1"/>
<ini name="memory_limit" value="-1"/>
<ini name="zend_extension" value="xdebug.so"/>
</php>
<coverage processUncoveredFiles="true">
<include>
<directory suffix=".php">src</directory>
</include>
<exclude>
<directory>vendor</directory>
</exclude>
<report>
<html outputDirectory="coverage"/>
</report>
</coverage>
<testsuites>
<testsuite name="Project Test Suite">
<directory>test</directory>
</testsuite>
</testsuites>
</phpunit>