Repository navigation
Expand file tree
/
Copy pathphpunit.xml.dist
More file actions
51 lines (46 loc) · 2.64 KB
/
Copy pathphpunit.xml.dist
File metadata and controls
51 lines (46 loc) · 2.64 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
47
48
49
50
51
<?xml version="1.0" encoding="UTF-8"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
bootstrap="vendor/autoload.php"
colors="false"
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.2/phpunit.xsd"
cacheDirectory=".phpunit.cache"
>
<php>
<ini name="error_reporting" value="-1" />
<!--
Database DSN – local installation
Uncomment and adjust to match your local database configuration.
-->
<!--<const name="WINDWALKER_TEST_DB_DSN_MYSQL" value="host=127.0.0.1;dbname=windwalker_test;user=root;password=ut1234;prefix=ww_" />-->
<!--<const name="WINDWALKER_TEST_DB_DSN_POSTGRESQL" value="host=127.0.0.1;dbname=windwalker_test;user=postgres;password=ut1234;prefix=ww_" />-->
<!--<const name="WINDWALKER_TEST_DB_DSN_ORACLE" value="host=127.0.0.1;port=1521;dbname=FREEPDB1;user=windwalker;password=ut1234;prefix=ww_" />-->
<!--<const name="WINDWALKER_TEST_DB_DSN_SQLSERVER" value="host=127.0.0.1;port=1433;dbname=windwalker_test;user=sa;password=Ut1234!pass;prefix=ww_" />-->
<!--<const name="WINDWALKER_TEST_DB_DSN_SQLITE" value="dbname=tmp/test.db;prefix=ww_" />-->
<!--
Database DSN – Docker (run `docker compose up -d` first)
These values match the defaults in docker-compose.yml.
-->
<!--<const name="WINDWALKER_TEST_DB_DSN_MYSQL" value="host=127.0.0.1;dbname=windwalker_test;user=root;password=ut1234;prefix=ww_" />-->
<!--<const name="WINDWALKER_TEST_DB_DSN_POSTGRESQL" value="host=127.0.0.1;dbname=windwalker_test;user=postgres;password=ut1234;prefix=ww_" />-->
<!--<const name="WINDWALKER_TEST_DB_DSN_ORACLE" value="host=127.0.0.1;port=1521;dbname=FREEPDB1;user=windwalker;password=ut1234;prefix=ww_" />-->
<!--<const name="WINDWALKER_TEST_DB_DSN_SQLSERVER" value="host=127.0.0.1;port=1433;dbname=windwalker_test;user=sa;password=Ut1234!pass;prefix=ww_" />-->
<!--<const name="WINDWALKER_TEST_DB_DSN_SQLITE" value="dbname=tmp/test.db;prefix=ww_" />-->
<!-- Enable Redis / Memcached / Swoole tests (requires running services) -->
<!--<env name="REDIS_ENABLED" value="1" />-->
<!--<env name="MEMCACHED_ENABLED" value="1" />-->
<!--<env name="SQS_ENABLED" value="1" />-->
<!--<env name="RABBITMQ_ENABLED" value="1" />-->
<!--<env name="SWOOLE_ENABLED" value="1" />-->
</php>
<testsuites>
<testsuite name="Unit">
<directory>packages/*/test</directory>
</testsuite>
</testsuites>
<!-- Code Coverage -->
<source ignoreIndirectDeprecations="true">
<include>
<directory suffix=".php">packages/*/src</directory>
</include>
</source>
</phpunit>