aboutsummaryrefslogtreecommitdiffstats
path: root/tests/phpunit-ci-mysql.xml
blob: f4d024c39c48108701170f226b360b4d50f4cade (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
<?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"
  >

  <php>
	<includePath>..</includePath>
    <env name="HZ_TEST_DB_HOST" value="mysql"/>
    <env name="HZ_TEST_DB_TYPE" value="mysql"/>
    <env name="HZ_TEST_DB_PORT" value=""/>
    <env name="HZ_TEST_DB_USER" value="root"/>
    <env name="HZ_TEST_DB_PASS" value="mysql"/>
    <env name="HZ_TEST_DB_DATABASE" value="hello_world_test"/>
    <env name="HZ_TEST_DB_CHARSET" value="utf8mb4"/>
  </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>
  </testsuites>
  <coverage
      processUncoveredFiles="true"
      cacheDirectory=".cache/phpunit"
      >
    <include>
      <directory suffix=".php">../Zotlabs/</directory>
      <directory suffix=".php">../include/</directory>
    </include>
    <report>
      <html outputDirectory="./results/coverage-report/" lowUpperBound="35" highLowerBound="70"/>
    </report>
  </coverage>
  <groups>
    <exclude>
      <group>postgresql</group>
    </exclude>
  </groups>
</phpunit>