-
-
Notifications
You must be signed in to change notification settings - Fork 8
/
phpunit.xml.dist
44 lines (44 loc) · 1.22 KB
/
phpunit.xml.dist
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
<?xml version="1.0"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="vendor/phpunit/phpunit/phpunit.xsd"
bootstrap="vendor/autoload.php"
cacheDirectory=".build/phpunit.cache"
colors="true"
beStrictAboutCoverageMetadata="true"
>
<testsuites>
<testsuite name="php-database test suite">
<directory>tests</directory>
</testsuite>
</testsuites>
<source>
<include>
<directory>src</directory>
</include>
</source>
<coverage>
<report>
<clover outputFile=".build/coverage/clover.xml"/>
<xml outputDirectory=".build/coverage/coverage-xml"/>
</report>
</coverage>
<groups>
<exclude>
<group>firebird</group>
<!--
<group>mssql</group>
<group>mysql</group>
<group>pgsql</group>
<group>sqlite</group>
-->
</exclude>
</groups>
<php>
<!-- whether the test runs on CI - set to false to allow tests to run in your local setup -->
<const name="TEST_IS_CI" value="true"/>
<!-- the config directory, where the .env resides, relative from project root -->
<const name="TEST_CFGDIR" value=".config"/>
<!-- the filename of your .env file -->
<const name="TEST_ENVFILE" value=".env_example"/>
</php>
</phpunit>