|
1 | 1 | <?xml version="1.0"?>
|
2 | 2 | <phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
3 |
| - xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.0/phpunit.xsd" |
| 3 | + xsi:noNamespaceSchemaLocation="vendor/phpunit/phpunit/phpunit.xsd" |
4 | 4 | bootstrap="vendor/autoload.php"
|
5 |
| - cacheResultFile=".build/phpunit.result.cache" |
| 5 | + cacheDirectory=".build/phpunit.cache" |
6 | 6 | colors="true"
|
| 7 | + beStrictAboutCoverageMetadata="true" |
7 | 8 | >
|
8 | 9 | <testsuites>
|
9 | 10 | <testsuite name="php-database test suite">
|
10 |
| - <directory suffix=".php">./tests</directory> |
11 |
| - <!-- abstract classes because phpunit 10 -.- --> |
12 |
| - <exclude>./tests/DBTestAbstract.php</exclude> |
13 |
| - <exclude>./tests/Drivers/DriverTestAbstract.php</exclude> |
14 |
| - <exclude>./tests/Drivers/PDODriverTestAbstract.php</exclude> |
15 |
| - <exclude>./tests/Query/QueryTestAbstract.php</exclude> |
16 |
| - <!-- excluded tests on CI --> |
17 |
| - <exclude>./tests/Drivers/PDOFirebirdTest.php</exclude> |
18 |
| - <exclude>./tests/Drivers/MSSqlSrvTest.php</exclude> |
19 |
| - <exclude>./tests/Drivers/PDOMSSqlSrvTest.php</exclude> |
20 |
| - <exclude>./tests/Drivers/MySQLiTest.php</exclude> |
21 |
| - <exclude>./tests/Drivers/PDOMySQLTest.php</exclude> |
22 |
| - <exclude>./tests/Drivers/PostgreSQLTest.php</exclude> |
23 |
| - <exclude>./tests/Drivers/PDOPostgreSQLTest.php</exclude> |
24 |
| - <exclude>./tests/Query/FirebirdTest.php</exclude> |
25 |
| - <exclude>./tests/Query/MSSQLTest.php</exclude> |
26 |
| - <exclude>./tests/Query/MySQLTest.php</exclude> |
27 |
| - <exclude>./tests/Query/PostgresTest.php</exclude> |
| 11 | + <directory>tests</directory> |
28 | 12 | </testsuite>
|
29 | 13 | </testsuites>
|
30 |
| - <coverage> |
| 14 | + <source> |
31 | 15 | <include>
|
32 |
| - <directory suffix=".php">./src</directory> |
| 16 | + <directory>src</directory> |
33 | 17 | </include>
|
| 18 | + </source> |
| 19 | + <coverage> |
34 | 20 | <report>
|
35 | 21 | <clover outputFile=".build/coverage/clover.xml"/>
|
36 | 22 | <xml outputDirectory=".build/coverage/coverage-xml"/>
|
37 | 23 | </report>
|
38 | 24 | </coverage>
|
39 |
| - <logging> |
40 |
| - <junit outputFile=".build/logs/junit.xml"/> |
41 |
| - </logging> |
| 25 | + <groups> |
| 26 | + <exclude> |
| 27 | + <group>firebird</group> |
| 28 | + <group>pgsql</group> |
| 29 | + <group>mssql</group> |
| 30 | + <group>mysql</group> |
| 31 | + </exclude> |
| 32 | + </groups> |
42 | 33 | <php>
|
43 |
| - <!-- whether the test runs on CI or not - set to false to allow tests to run in your local setup --> |
| 34 | + <!-- whether the test runs on CI - set to false to allow tests to run in your local setup --> |
44 | 35 | <const name="TEST_IS_CI" value="true"/>
|
45 | 36 | <!-- the config directory, where .env, cacert.pem and test oauth tokens reside, relative from project root -->
|
46 | 37 | <const name="TEST_CFGDIR" value="./config"/>
|
|
0 commit comments