forked from mollie/Shopware
-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpunit.xml
44 lines (40 loc) · 1.8 KB
/
phpunit.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
41
42
43
44
<?xml version="1.0" encoding="UTF-8"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd"
bootstrap="vendor/autoload.php"
cacheResult="false"
colors="true"
executionOrder="random">
<testsuites>
<testsuite name="Mollie Test Suite">
<directory>./Tests/PHPUnit</directory>
</testsuite>
</testsuites>
<filter>
<whitelist processUncoveredFilesFromWhitelist="true">
<directory suffix=".php">./</directory>
<exclude>
<!--
we had to exclude a few folders at the moment
if we add shopware as dev dependency it should work again,
but step by step....for now we just need a bit of a code coverage
-->
<directory suffix=".php">./Command</directory>
<directory suffix=".php">./Components/Base</directory>
<directory suffix=".php">./Controllers</directory>
<directory suffix=".php">./Events</directory>
<directory suffix=".php">./Exceptions</directory>
<directory suffix=".php">./Gateways</directory>
<directory suffix=".php">./Models</directory>
<directory suffix=".php">./Subscriber</directory>
<directory suffix=".php">./Tests</directory>
<directory suffix=".php">./vendor</directory>
<file>./MollieShopware.php</file>
</exclude>
</whitelist>
</filter>
<logging>
<log type="coverage-clover" target="./.reports/logs/clover.xml"/>
<log type="coverage-html" target="./.reports/coverage" lowUpperBound="35" highLowerBound="70"/>
</logging>
</phpunit>