diff options
author | Mario <mario@mariovavti.com> | 2020-11-26 08:43:03 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2020-11-26 08:43:03 +0000 |
commit | 21cd4a1b4845858c3421dbd5f2673eceee421f5d (patch) | |
tree | 56d80b7e16f99d8037e8ff48431aa9d191ff39dd /Tests/phpunit.xml | |
parent | e9a50371f5dd4cffb0ba4894f2286b28e8f535b9 (diff) | |
download | volse-hubzilla-21cd4a1b4845858c3421dbd5f2673eceee421f5d.tar.gz volse-hubzilla-21cd4a1b4845858c3421dbd5f2673eceee421f5d.tar.bz2 volse-hubzilla-21cd4a1b4845858c3421dbd5f2673eceee421f5d.zip |
psr-4 autoloading standard
Diffstat (limited to 'Tests/phpunit.xml')
-rw-r--r-- | Tests/phpunit.xml | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/Tests/phpunit.xml b/Tests/phpunit.xml new file mode 100644 index 000000000..0a5bc2b35 --- /dev/null +++ b/Tests/phpunit.xml @@ -0,0 +1,42 @@ +<?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> + |