Repository navigation
Expand file tree
/
Copy pathphpunit.dist.xml
More file actions
66 lines (66 loc) · 2.91 KB
/
Copy pathphpunit.dist.xml
File metadata and controls
66 lines (66 loc) · 2.91 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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
<?xml version="1.0" encoding="UTF-8"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="vendor/phpunit/phpunit/phpunit.xsd"
bootstrap="vendor/codeigniter4/framework/system/Test/bootstrap.php"
beStrictAboutOutputDuringTests="true"
colors="true"
columns="max"
executionOrder="random"
failOnRisky="true"
failOnWarning="true"
cacheDirectory="build/.phpunit.cache"
beStrictAboutCoverageMetadata="true"
>
<source>
<include>
<directory suffix=".php">./src/</directory>
</include>
<exclude>
<directory suffix=".php">./src/Config</directory>
<directory suffix=".php">./src/Views</directory>
<directory suffix=".php">./src/Language</directory>
</exclude>
</source>
<coverage includeUncoveredFiles="true">
<report>
<clover outputFile="build/phpunit/clover.xml"/>
</report>
</coverage>
<testsuites>
<testsuite name="main">
<directory>./tests</directory>
</testsuite>
</testsuites>
<extensions>
<bootstrap class="Nexus\PHPUnit\Tachycardia\TachycardiaExtension">
<parameter name="time-limit" value="0.50"/>
<parameter name="report-count" value="30"/>
<parameter name="format" value="table"/>
</bootstrap>
<bootstrap class="Boundwize\Pyrameter\Extension"/>
</extensions>
<php>
<env name="XDEBUG_MODE" value="coverage"/>
<!-- Set hashCost for improving the speed of running tests -->
<env name="auth.hashCost" value="4"/>
<server name="app.baseURL" value="https://example.com/"/>
<!-- Directory containing phpunit.xml -->
<const name="HOMEPATH" value="./"/>
<!-- Directory containing the Paths config file -->
<const name="CONFIGPATH" value="vendor/codeigniter4/framework/app/Config/"/>
<!-- Directory containing the front controller (index.php) -->
<const name="PUBLICPATH" value="./public/"/>
<!-- Default HMAC encryption key -->
<env name="authtoken.hmacEncryptionKeys" value="{"k1":{"key":"hex2bin:178ed94fd0b6d57dd31dd6b22fc601fab8ad191efac165a5f3f30a8ac09d813d"},"k2":{"key":"hex2bin:b0ab85bd0320824c496db2f40eb47c8712a6dfcfdf99b805988e22bdea6b9203"}}"/>
<!-- Database configuration -->
<env name="database.tests.strictOn" value="true"/>
<!-- Uncomment to use alternate testing database configuration
<env name="database.tests.hostname" value="127.0.0.1"/>
<env name="database.tests.database" value="tests"/>
<env name="database.tests.username" value="root"/>
<env name="database.tests.password" value=""/>
<env name="database.tests.DBDriver" value="MySQLi"/>
<env name="database.tests.DBPrefix" value="db_"/>
-->
</php>
</phpunit>