aboutsummaryrefslogtreecommitdiffstats
path: root/Tests/phpunit.xml
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2020-11-26 10:03:39 +0000
committerMario <mario@mariovavti.com>2020-11-26 10:03:39 +0000
commitd40a7a609e96ed426e6d3ab398645ea678d10adc (patch)
treef595e41516b227180b70a8d862065ed1027e0ce1 /Tests/phpunit.xml
parent0ec40f00a929fd755368bf6deec88a8d4ebe05ba (diff)
downloadvolse-hubzilla-d40a7a609e96ed426e6d3ab398645ea678d10adc.tar.gz
volse-hubzilla-d40a7a609e96ed426e6d3ab398645ea678d10adc.tar.bz2
volse-hubzilla-d40a7a609e96ed426e6d3ab398645ea678d10adc.zip
run vendor/bin/phpunit --migrate-configuration
Diffstat (limited to 'Tests/phpunit.xml')
-rw-r--r--Tests/phpunit.xml75
1 files changed, 35 insertions, 40 deletions
diff --git a/Tests/phpunit.xml b/Tests/phpunit.xml
index 0d3a55df4..a301c929f 100644
--- a/Tests/phpunit.xml
+++ b/Tests/phpunit.xml
@@ -1,42 +1,37 @@
<?xml version="1.0" encoding="UTF-8"?>
-
-<phpunit bootstrap="../boot.php" colors="true">
- <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-->
- <filter>
- <whitelist processUncoveredFilesFromWhitelist="true">
- <directory suffix=".php">../Zotlabs/</directory>
- <directory suffix=".php">../include/</directory>
- </whitelist>
- </filter>
+<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>
-