phpunit.xml 1.39 KB
Newer Older
Mario's avatar
Mario committed
1
<?xml version="1.0" encoding="UTF-8"?>
2
<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">
Mario's avatar
Mario committed
3
  <coverage processUncoveredFiles="false" includeUncoveredFiles="false">
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
    <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">
Mario's avatar
Mario committed
22
      <directory suffix="Test.php">./unit/</directory>
23
24
    </testsuite>
    <testsuite name="API Test Suite">
Mario's avatar
Mario committed
25
      <directory suffix="Test.php" prefix="API">./unit/</directory>
26
27
28
29
30
31
32
33
34
35
36
    </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-->
Mario's avatar
Mario committed
37
</phpunit>