aboutsummaryrefslogtreecommitdiffstats
path: root/tests/phpunit-pgsql.xml
diff options
context:
space:
mode:
authorHilmar R <u02@u29lx193>2021-01-22 01:38:43 +0100
committerHilmar R <u02@u29lx193>2021-01-22 01:38:43 +0100
commit523765b968a5d94a98eee12854fc527d5abbc2e7 (patch)
treea71caba8943c674917821a4afd333eb39ac92b2e /tests/phpunit-pgsql.xml
parent78f150cfbc1b713bfba3101fdc3f1fd624120637 (diff)
parent254e30bea173e350a24756cbd8cf4acdfe32933e (diff)
downloadvolse-hubzilla-523765b968a5d94a98eee12854fc527d5abbc2e7.tar.gz
volse-hubzilla-523765b968a5d94a98eee12854fc527d5abbc2e7.tar.bz2
volse-hubzilla-523765b968a5d94a98eee12854fc527d5abbc2e7.zip
Merge branch 'master' into air.5
Diffstat (limited to 'tests/phpunit-pgsql.xml')
-rw-r--r--tests/phpunit-pgsql.xml84
1 files changed, 39 insertions, 45 deletions
diff --git a/tests/phpunit-pgsql.xml b/tests/phpunit-pgsql.xml
index 8b11aae31..148ac2e70 100644
--- a/tests/phpunit-pgsql.xml
+++ b/tests/phpunit-pgsql.xml
@@ -1,49 +1,43 @@
<?xml version="1.0" encoding="UTF-8"?>
-<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/7.5/phpunit.xsd"
- bootstrap="../boot.php"
- forceCoversAnnotation="false"
- beStrictAboutCoversAnnotation="true"
- beStrictAboutOutputDuringTests="true"
- beStrictAboutTodoAnnotatedTests="true"
- verbose="true">
- <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>
- </testsuites>
- <groups>
- <exclude>
- <group>mysql</group>
- </exclude>
- </groups>
- <!--coverage reporting-->
- <filter>
- <whitelist processUncoveredFilesFromWhitelist="true">
- <directory suffix=".php">../Zotlabs/</directory>
- <directory suffix=".php">../include/</directory>
- </whitelist>
- </filter>
- <logging>
- <log type="junit" target="./results/junit.xml"/>
- <!--<log type="coverage-clover" target="./results/coverage-clover.xml"/>-->
- <log type="coverage-html" target="./results/coverage-report/" lowUpperBound="35"
- highLowerBound="70"/>
- <!--<log type="testdox-text" target="./results/testdox.txt"/>-->
- <log type="testdox-html" target="./results/testdox.html"/>
- </logging>
- <php>
- <!-- Default test database config, only used if no environment variables
+<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd" bootstrap="../boot.php" forceCoversAnnotation="false" beStrictAboutCoversAnnotation="true" beStrictAboutOutputDuringTests="true" beStrictAboutTodoAnnotatedTests="true" verbose="true">
+ <coverage processUncoveredFiles="true">
+ <include>
+ <directory suffix=".php">../Zotlabs/</directory>
+ <directory suffix=".php">../include/</directory>
+ </include>
+ <report>
+ <html outputDirectory="./results/coverage-report/" lowUpperBound="35" highLowerBound="70"/>
+ </report>
+ </coverage>
+ <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>
+ </testsuites>
+ <groups>
+ <exclude>
+ <group>mysql</group>
+ </exclude>
+ </groups>
+ <!--coverage reporting-->
+ <logging>
+ <junit outputFile="./results/junit.xml"/>
+ <!--<log type="coverage-clover" target="./results/coverage-clover.xml"/>-->
+ <!--<log type="testdox-text" target="./results/testdox.txt"/>-->
+ <testdoxHtml outputFile="./results/testdox.html"/>
+ </logging>
+ <php>
+ <!-- Default test database config, only used if no environment variables
with same names are set.
!!! Never run against a real database, it will truncate all tables -->
- <env name="hz_db_server" value="postgres"/>
- <env name="hz_db_scheme" value="pgsql"/>
- <env name="hz_db_port" value="5432"/>
- <env name="hz_db_user" value="ci-user"/>
- <env name="hz_db_pass" value="ci-pass"/>
- <env name="hz_db_database" value="ci-db"/>
- </php>
+ <env name="hz_db_server" value="postgres"/>
+ <env name="hz_db_scheme" value="pgsql"/>
+ <env name="hz_db_port" value="5432"/>
+ <env name="hz_db_user" value="ci-user"/>
+ <env name="hz_db_pass" value="ci-pass"/>
+ <env name="hz_db_database" value="ci-db"/>
+ </php>
</phpunit>