-
Notifications
You must be signed in to change notification settings - Fork 23
Expand file tree
/
Copy pathphpunit.xml
More file actions
54 lines (48 loc) · 1.75 KB
/
phpunit.xml
File metadata and controls
54 lines (48 loc) · 1.75 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
52
53
54
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.5/phpunit.xsd"
bootstrap="Test/Bootstrap.php"
cacheResultFile=".phpunit.result.cache"
beStrictAboutOutputDuringTests="true"
beStrictAboutTestsThatDoNotTestAnything="false"
beStrictAboutTestSize="true"
beStrictAboutResourceUsageDuringSmallTests="true"
failOnRisky="true"
failOnWarning="true"
colors="true"
verbose="true"
stopOnFailure="false">
<testsuites>
<testsuite name="Unit Tests">
<directory>Test/Unit</directory>
</testsuite>
<testsuite name="Integration Tests">
<directory>Test/Integration</directory>
</testsuite>
</testsuites>
<coverage processUncoveredFiles="true"
pathCoverage="false"
ignoreDeprecatedCodeUnitsFromCodeCoverage="true">
<include>
<directory suffix=".php">Model</directory>
<directory suffix=".php">Service</directory>
</include>
<exclude>
<directory>Test</directory>
<directory>view</directory>
<directory>etc</directory>
</exclude>
</coverage>
<groups>
<exclude>
<group>openai-api</group>
</exclude>
</groups>
<php>
<!-- Set API domain for tests (optional) -->
<env name="OPENAI_API_DOMAIN" value="https://api.openai.com" forceCoversAnnotationRequired="false"/>
<!-- Display deprecation notices -->
<ini name="error_reporting" value="-1"/>
<ini name="display_errors" value="1"/>
<ini name="log_errors" value="1"/>
</php>
</phpunit>