generated from axleus/axleus-repo-template
-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathphpunit.xml.dist
More file actions
37 lines (36 loc) · 1.38 KB
/
phpunit.xml.dist
File metadata and controls
37 lines (36 loc) · 1.38 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
<?xml version="1.0" encoding="UTF-8"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/11.4/phpunit.xsd"
bootstrap="vendor/autoload.php"
colors="true"
cacheDirectory=".phpunit.cache"
requireCoverageMetadata="true"
displayDetailsOnAllIssues="true"
failOnNotice="true"
failOnDeprecation="true"
failOnWarning="true">
<extensions>
<bootstrap class="PhpDbIntegrationTest\Mysql\Extension\ListenerExtension" />
</extensions>
<testsuites>
<testsuite name="unit test">
<directory>test/unit</directory>
</testsuite>
<testsuite name="integration test">
<directory>test/integration</directory>
</testsuite>
</testsuites>
<source restrictNotices="true">
<include>
<directory>src</directory>
</include>
</source>
<php>
<env name="TESTS_PHPDB_ADAPTER_MYSQL" value="true"/>
<env name="TESTS_PHPDB_ADAPTER_MYSQL_HOSTNAME" value="mysql"/>
<env name="TESTS_PHPDB_ADAPTER_MYSQL_USERNAME" value="root"/>
<env name="TESTS_PHPDB_ADAPTER_MYSQL_PASSWORD" value=""/>
<env name="TESTS_PHPDB_ADAPTER_MYSQL_DATABASE" value="phpdb_test"/>
<env name="TESTS_PHPDB_ADAPTER_MYSQL_PORT" value="3306"/>
</php>
</phpunit>