-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathphpunit.xml
More file actions
46 lines (46 loc) · 1.99 KB
/
Copy pathphpunit.xml
File metadata and controls
46 lines (46 loc) · 1.99 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
36
37
38
39
40
41
42
43
44
45
46
<?xml version="1.0" encoding="UTF-8"?>
<phpunit backupGlobals="false" backupStaticAttributes="false" bootstrap="vendor/autoload.php" colors="true" convertErrorsToExceptions="true" convertNoticesToExceptions="true" convertWarningsToExceptions="true" processIsolation="false" stopOnFailure="false">
<testsuites>
<testsuite name="Unit">
<directory>./tests/Unit</directory>
</testsuite>
<testsuite name="Integration">
<directory>./tests/Integration</directory>
</testsuite>
<testsuite name="System">
<directory>./tests/System</directory>
</testsuite>
</testsuites>
<groups>
<exclude>
<group>release</group> <!-- Test the new features -->
<group>git</group> <!-- Test that Fast Mode catches the diff files of git -->
<group>windows</group> <!-- Test that routes from githooks.yml are adapt for Windows -->
<group>ci-features</group> <!-- E2E verification of fast-branch + budgets on real GHA runners cross-OS -->
<group>integration</group> <!-- Real-SUT coverage for seams whose unit tests run with synthetic doubles -->
</exclude>
</groups>
<coverage processUncoveredFiles="true">
<include>
<directory suffix=".php">./app</directory>
<directory suffix=".php">./src</directory>
</include>
</coverage>
<listeners>
<listener class="JohnKary\PHPUnit\Listener\SpeedTrapListener">
<arguments>
<array>
<element key="slowThreshold">
<integer>250</integer>
</element>
<element key="reportLength">
<integer>10</integer>
</element>
<element key="stopOnSlow">
<boolean>false</boolean>
</element>
</array>
</arguments>
</listener>
</listeners>
</phpunit>