-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathphpunit.api.xml.dist
More file actions
51 lines (51 loc) · 1.86 KB
/
phpunit.api.xml.dist
File metadata and controls
51 lines (51 loc) · 1.86 KB
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
45
46
47
48
49
50
51
<?xml version="1.0" encoding="UTF-8"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/11.1/phpunit.xsd"
bootstrap="tests/bootstrap/api_bootstrap.php"
requireCoverageMetadata="false"
beStrictAboutCoverageMetadata="true"
beStrictAboutOutputDuringTests="true"
colors="true">
<testsuites>
<testsuite name="api">
<directory>tests_api</directory>
</testsuite>
</testsuites>
<source restrictNotices="true" restrictWarnings="true" ignoreIndirectDeprecations="true">
<include>
<directory>src</directory>
</include>
<exclude>
<directory>tests</directory>
<directory>src/command</directory>
<directory>src/bin</directory>
<directory>src/public</directory>
<directory>src/templates</directory>
</exclude>
</source>
<coverage>
<report>
<html outputDirectory="cache/coverage/api"/>
<clover outputFile="cache/coverage/api-coverage.xml"/>
</report>
</coverage>
<groups>
<include>
<group>api</group>
</include>
</groups>
<php>
<const name="PSFS_UNIT_TESTING_EXECUTION" value="true"/>
<ini name="error_reporting" value="-1"/>
<ini name="memory_limit" value="-1"/>
<ini name="zend.assertions" value="1"/>
<ini name="assert.assertions" value="1"/>
<ini name="xdebug.show_exception_trace" value="0"/>
<env name="APP_ENVIRONMENT" value="test"/>
<env name="API_DB_HOST" value="db"/>
<env name="API_DB_PORT" value="3306"/>
<env name="API_DB_NAME" value="core_test"/>
<env name="API_DB_USER" value="root"/>
<env name="API_DB_PASSWORD" value="psfs"/>
</php>
</phpunit>