-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathphpunit.xml.dist
81 lines (81 loc) · 2.92 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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
<?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"
backupGlobals="false"
beStrictAboutCoversAnnotation="false"
bootstrap="tests/bootstrap.php"
colors="true"
forceCoversAnnotation="true"
testdox="true"
verbose="true"
>
<php>
<env name="MYSQL_HOST" value="localhost" />
<env name="MYSQL_DATABASE" value="test" />
<env name="MYSQL_USERNAME" value="root" />
<env name="MYSQL_PASSWORD" value="root" />
<!--
Port to be used for local tests.
On GitHub Actions, it will be overwritten by the port set in the workflow.
-->
<env name="MYSQL_PORT" value="3306" />
</php>
<coverage processUncoveredFiles="true">
<include>
<directory suffix=".php">src</directory>
</include>
<exclude>
<file>src/Debug/Collector/Debug/Pdo/CompatTrait.php</file>
<file>src/Debug/Collector/Doctrine/LoggerCompatTrait_legacy.php</file>
<file>src/Debug/Collector/Doctrine/LoggerCompatTrait.php</file>
<file>src/Debug/Collector/MonologHandler/CompatTrait.php</file>
<file>src/Debug/Collector/Pdo/CompatTrait.php</file>
<file>src/Debug/Collector/SimpleCache/CompatTrait.php</file>
<file>src/Debug/Dump/charData.php</file>
<directory>src/Debug/Framework</directory>
<directory>src/Debug/node_modules</directory>
<directory>src/Psr7</directory>
</exclude>
</coverage>
<testsuites>
<testsuite name="Autoloader">
<file>tests/Debug/AutoloaderTest.php</file>
</testsuite>
<testsuite name="Backtrace">
<directory>tests/Backtrace</directory>
</testsuite>
<testsuite name="Container">
<directory>tests/Container</directory>
</testsuite>
<testsuite name="CurlHttpMessage">
<directory>tests/CurlHttpMessage</directory>
<file phpVersion="5.5.0" phpVersionOperator=">=">tests/CurlHttpMessagePhpCond/ClientAsyncTest.php</file>
</testsuite>
<testsuite name="Debug">
<directory>tests/Debug</directory>
<exclude>tests/Debug/AutoloaderTest.php</exclude>
<exclude>tests/Debug/Utility</exclude>
</testsuite>
<testsuite name="ErrorHandler">
<directory>tests/ErrorHandler</directory>
</testsuite>
<testsuite name="Promise">
<directory>tests/Promise</directory>
<file phpVersion="7.0.0" phpVersionOperator=">=">tests/PromisePhpCond/CoroutineTest.php</file>
<file phpVersion="5.5.0" phpVersionOperator=">=">tests/PromisePhpCond/EachPromiseTest.php</file>
</testsuite>
<testsuite name="PubSub">
<directory>tests/PubSub</directory>
</testsuite>
<testsuite name="Slack">
<directory>tests/Slack</directory>
</testsuite>
<testsuite name="Teams">
<directory>tests/Teams</directory>
</testsuite>
<testsuite name="Utility">
<directory>tests/Debug/Utility</directory>
</testsuite>
</testsuites>
</phpunit>