forked from dvdoug/behat-code-coverage
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathphpunit.xml.dist
31 lines (24 loc) · 968 Bytes
/
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
<?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="vendor/phpunit/phpunit/phpunit.xsd"
colors="true"
bootstrap="vendor/autoload.php"
cacheResultFile="build/phpunit-cache/test-results"
>
<testsuites>
<testsuite name="behat-code-coverage">
<directory>tests</directory>
</testsuite>
</testsuites>
<!-- pathCoverage must be set false here for CI or PCOV/PHPDBG fail. It is enabled via CLI for Xdebug -->
<coverage pathCoverage="false" processUncoveredFiles="true" cacheDirectory="build/phpunit-cache/coverage">
<include>
<directory>src</directory>
</include>
<report>
<html outputDirectory="build/coverage"/>
<text outputFile="php://stdout" showUncoveredFiles="true"/>
</report>
</coverage>
</phpunit>