aboutsummaryrefslogtreecommitdiffstats
path: root/tests/phpunit.xml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/phpunit.xml')
-rw-r--r--tests/phpunit.xml37
1 files changed, 37 insertions, 0 deletions
diff --git a/tests/phpunit.xml b/tests/phpunit.xml
new file mode 100644
index 000000000..717d8fc8a
--- /dev/null
+++ b/tests/phpunit.xml
@@ -0,0 +1,37 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" bootstrap="../boot.php" colors="true" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd">
+ <coverage processUncoveredFiles="true">
+ <include>
+ <directory suffix=".php">../Zotlabs/</directory>
+ <directory suffix=".php">../include/</directory>
+ </include>
+ </coverage>
+ <php>
+ <var name="db_dsn" value="mysql:dbname=gitlab_ci_hubzilla;host=mysql"/>
+ <var name="db_username" value="root"/>
+ <var name="db_password" value="mysql"/>
+ <env name="hz_db_server" value="mysql"/>
+ <env name="hz_db_scheme" value="mysql"/>
+ <env name="hz_db_port" value=""/>
+ <env name="hz_db_user" value="root"/>
+ <env name="hz_db_pass" value="mysql"/>
+ <env name="hz_db_database" value="hello_world_test"/>
+ </php>
+ <testsuites>
+ <testsuite name="Hubzilla default Test Suite">
+ <directory suffix="Test.php">./unit/</directory>
+ </testsuite>
+ <testsuite name="API Test Suite">
+ <directory suffix="Test.php" prefix="API">./unit/</directory>
+ </testsuite>
+ <testsuite name="Ex-/Import Test Suite">
+ <!--<directory suffix="Test.php">./Unit/eximport/</directory>-->
+ </testsuite>
+ </testsuites>
+ <groups>
+ <exclude>
+ <group>postgresql</group>
+ </exclude>
+ </groups>
+ <!--cover reporting-->
+</phpunit>