-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathphpunit.xml.dist
More file actions
46 lines (43 loc) · 1.84 KB
/
Copy pathphpunit.xml.dist
File metadata and controls
46 lines (43 loc) · 1.84 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
38
39
40
41
42
43
44
45
46
<?xml version="1.0" encoding="UTF-8"?>
<phpunit
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.5/phpunit.xsd"
failOnWarning="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
stopOnError="false"
stopOnFailure="false"
stopOnIncomplete="false"
stopOnSkipped="false"
stopOnRisky="false"
bootstrap="tests/autoload.php">
<php>
<ini name="error_reporting" value="-1"/>
<!-- MySQL test database (gobl_test user / database). -->
<env name="GOBL_TEST_MYSQL_HOST" value="127.0.0.1"/>
<env name="GOBL_TEST_MYSQL_PORT" value="3306"/>
<env name="GOBL_TEST_MYSQL_DB" value="gobl_test"/>
<env name="GOBL_TEST_MYSQL_USER" value="gobl_test"/>
<env name="GOBL_TEST_MYSQL_PASSWORD" value="g0bl@Test"/>
<!-- Pin the assumed MySQL server version for DDL generation (JSON DEFAULT, etc.). -->
<env name="GOBL_TEST_MYSQL_SERVER_VERSION" value="8.0.40"/>
<!-- PostgreSQL test database (gobl_test user / database). -->
<env name="GOBL_TEST_POSTGRESQL_HOST" value="127.0.0.1"/>
<env name="GOBL_TEST_POSTGRESQL_PORT" value="5432"/>
<env name="GOBL_TEST_POSTGRESQL_DB" value="gobl_test"/>
<env name="GOBL_TEST_POSTGRESQL_USER" value="gobl_test"/>
<env name="GOBL_TEST_POSTGRESQL_PASSWORD" value="g0bl@Test"/>
<!-- SQLite test database (gobl_test file). -->
<env name="GOBL_TEST_SQLITE_FILE" value="tests/tmp/gobl_test.sqlite"/>
</php>
<testsuites>
<testsuite name="Unit">
<directory>tests/</directory>
<exclude>tests/Integration</exclude>
</testsuite>
<testsuite name="Integration">
<directory>tests/Integration/</directory>
</testsuite>
</testsuites>
</phpunit>