forked from top-think/think-orm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpunit.xml
31 lines (31 loc) · 1.19 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
<?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/8.5/phpunit.xsd">
<filter>
<whitelist processUncoveredFilesFromWhitelist="true">
<directory suffix=".php">src</directory>
</whitelist>
</filter>
<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>