-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpunit.xml
48 lines (48 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
45
46
47
48
<?xml version="1.0" encoding="UTF-8"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="vendor/phpunit/phpunit/phpunit.xsd"
backupGlobals="false"
bootstrap="vendor/autoload.php"
colors="true"
executionOrder="depends,defects"
beStrictAboutCoversAnnotation="true"
beStrictAboutOutputDuringTests="true"
beStrictAboutTodoAnnotatedTests="true"
failOnRisky="true"
failOnWarning="true"
verbose="true">
<testsuites>
<testsuite name="Tests">
<directory>tests</directory>
</testsuite>
</testsuites>
<coverage processUncoveredFiles="true">
<include>
<directory suffix=".php">./src/</directory>
</include>
<exclude>
<directory>./src/Files/</directory>
<directory>./src/Template/views/</directory>
</exclude>
<report>
<clover outputFile=".reports/phpunit.clover.xml"/>
<cobertura outputFile=".reports/phpunit.cobertura.xml"/>
<crap4j outputFile=".reports/phpunit.crap4j.xml" threshold="50"/>
</report>
</coverage>
<logging>
<junit outputFile=".reports/phpunit.junit.xml"/>
</logging>
<php>
<server name="APP_ENV" value="testing"/>
<server name="APP_SECRET" value="qFfdrk+liPVRkxRflSJhLQgrKh/PX89inE1Z1P5iFp8="/>
<server name="APP_URL" value="http://localhost:8000"/>
<server name="CACHE_DRIVER" value="array"/>
<server name="BCRYPT_COST" value="2"/>
<server name="QUEUE_DRIVER" value="sync"/>
<server name="MYSQL_DATABASE" value="tinyframework"/>
</php>
<extensions>
<extension class="\TinyFramework\PHPUnit\LongRunningTestAlert"/>
</extensions>
</phpunit>