forked from chillerlan/php-database
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathphpunit.xml.dist
50 lines (50 loc) · 2.02 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
45
46
47
48
49
50
<?xml version="1.0"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.0/phpunit.xsd"
bootstrap="vendor/autoload.php"
cacheResultFile=".build/phpunit.result.cache"
colors="true"
>
<testsuites>
<testsuite name="php-database test suite">
<directory suffix=".php">./tests</directory>
<!-- abstract classes because phpunit 10 -.- -->
<exclude>./tests/DBTestAbstract.php</exclude>
<exclude>./tests/Drivers/DriverTestAbstract.php</exclude>
<exclude>./tests/Drivers/PDODriverTestAbstract.php</exclude>
<exclude>./tests/Query/QueryTestAbstract.php</exclude>
<!-- excluded tests on CI -->
<exclude>./tests/Drivers/PDOFirebirdTest.php</exclude>
<exclude>./tests/Drivers/MSSqlSrvTest.php</exclude>
<exclude>./tests/Drivers/PDOMSSqlSrvTest.php</exclude>
<exclude>./tests/Drivers/MySQLiTest.php</exclude>
<exclude>./tests/Drivers/PDOMySQLTest.php</exclude>
<exclude>./tests/Drivers/PostgreSQLTest.php</exclude>
<exclude>./tests/Drivers/PDOPostgreSQLTest.php</exclude>
<exclude>./tests/Query/FirebirdTest.php</exclude>
<exclude>./tests/Query/MSSQLTest.php</exclude>
<exclude>./tests/Query/MySQLTest.php</exclude>
<exclude>./tests/Query/PostgresTest.php</exclude>
</testsuite>
</testsuites>
<coverage>
<include>
<directory suffix=".php">./src</directory>
</include>
<report>
<clover outputFile=".build/coverage/clover.xml"/>
<xml outputDirectory=".build/coverage/coverage-xml"/>
</report>
</coverage>
<logging>
<junit outputFile=".build/logs/junit.xml"/>
</logging>
<php>
<!-- whether the test runs on CI or not - set to false to allow tests to run in your local setup -->
<const name="TEST_IS_CI" value="true"/>
<!-- the config directory, where .env, cacert.pem and test oauth tokens reside, relative from project root -->
<const name="TEST_CFGDIR" value="./config"/>
<!-- the filename of your .env file -->
<const name="TEST_ENVFILE" value=".env_travis"/>
</php>
</phpunit>