forked from top-think/think-orm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpunit.xml
33 lines (33 loc) · 1.13 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
<?xml version="1.0" encoding="UTF-8"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
backupGlobals="false"
backupStaticAttributes="false"
beStrictAboutTestsThatDoNotTestAnything="false"
bootstrap="tests/bootstrap.php"
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
processIsolation="false"
stopOnError="false"
stopOnFailure="false"
verbose="true"
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd"
>
<coverage processUncoveredFiles="true">
<include>
<directory suffix=".php">src</directory>
</include>
</coverage>
<testsuites>
<testsuite name="ThinkPHP Test Suite">
<directory suffix="Test.php">tests</directory>
</testsuite>
</testsuites>
<php>
<env name="TESTS_DB_MYSQL_HOSTNAME" value="127.0.0.1"/>
<env name="TESTS_DB_MYSQL_DATABASE" value="testing"/>
<env name="TESTS_DB_MYSQL_USERNAME" value="root"/>
<env name="TESTS_DB_MYSQL_PASSWORD" value="password"/>
</php>
</phpunit>