-
Notifications
You must be signed in to change notification settings - Fork 1
/
phpunit.xml
58 lines (58 loc) · 2.07 KB
/
phpunit.xml
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
52
53
54
55
56
57
58
<?xml version="1.0"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" bootstrap="tests/autoload.php" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd">
<php>
<ini name="memory_limit" value="4G" />
<!-- on error 255 (especially during coverage), enable error logging -->
<!-- <ini name="log_errors" value="On" />
<ini name="error_log" value="/usr/var/workspace/php-errors.log" /> -->
</php>
<coverage processUncoveredFiles="true">
<include>
<directory suffix=".php">backend/class/</directory>
</include>
<report>
<html outputDirectory=".phpunit/coverage-html" />
<!-- <clover outputFile=".phpunit/coverage.clover.xml" /> -->
<cobertura outputFile=".phpunit/coverage.cobertura.xml" />
</report>
</coverage>
<testsuites>
<testsuite name="all">
<directory suffix=".php">tests</directory>
</testsuite>
<testsuite name="lifecycle">
<directory suffix=".php">tests/lifecycle</directory>
</testsuite>
<testsuite name="bucket">
<directory suffix=".php">tests/bucket</directory>
</testsuite>
<testsuite name="cache">
<directory suffix=".php">tests/cache</directory>
</testsuite>
<testsuite name="config">
<directory suffix=".php">tests/config</directory>
</testsuite>
<testsuite name="database">
<directory suffix=".php">tests/database</directory>
</testsuite>
<testsuite name="extension">
<directory suffix=".php">tests/extension</directory>
</testsuite>
<testsuite name="mail">
<directory suffix=".php">tests/mail</directory>
</testsuite>
<testsuite name="model">
<directory suffix=".php">tests/model</directory>
</testsuite>
<testsuite name="session">
<directory suffix=".php">tests/session</directory>
</testsuite>
<testsuite name="validator">
<directory suffix=".php">tests/validator</directory>
</testsuite>
</testsuites>
<logging>
<!-- required for AWS CodeBuild reports -->
<junit outputFile=".phpunit/report.junit.xml" />
</logging>
</phpunit>