-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpunit.xml.dist
31 lines (31 loc) · 1.13 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
<?xml version="1.0" encoding="UTF-8"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.0/phpunit.xsd"
backupGlobals="false"
colors="true"
convertDeprecationsToExceptions="false"
convertWarningsToExceptions="false"
bootstrap="vendor/autoload.php"
>
<testsuites>
<testsuite name="ShortId Test Suite">
<directory>tests</directory>
</testsuite>
</testsuites>
<filter>
<whitelist>
<directory suffix=".php">src/</directory>
</whitelist>
</filter>
<logging>
<log type="tap" target="build/report.tap"/>
<log type="junit" target="build/report.junit.xml"/>
<log type="coverage-html" target="build/coverage"/>
<log type="coverage-text" target="build/coverage.txt"/>
<log type="coverage-clover" target="build/logs/clover.xml"/>
</logging>
<!-- see https://www.tomasvotruba.cz/blog/2019/03/28/how-to-mock-final-classes-in-phpunit/ -->
<extensions>
<extension class="PUGX\Shortid\Test\BypassFinalHook"/>
</extensions>
</phpunit>