forked from tempestphp/tempest-framework
-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpunit.xml.dist
40 lines (40 loc) · 1.38 KB
/
phpunit.xml.dist
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
<?xml version="1.0" encoding="UTF-8"?>
<phpunit
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.2/phpunit.xsd"
colors="true"
displayDetailsOnTestsThatTriggerDeprecations="true"
displayDetailsOnTestsThatTriggerErrors="true"
displayDetailsOnTestsThatTriggerNotices="true"
displayDetailsOnTestsThatTriggerWarnings="true"
bootstrap="./tests/bootstrap.php"
cacheDirectory=".cache/phpunit"
>
<testsuites>
<testsuite name="Integration">
<directory suffix="Test.php">tests/Integration</directory>
</testsuite>
<testsuite name="Unit">
<directory suffix="Test.php">src/Tempest/**/tests</directory>
</testsuite>
</testsuites>
<coverage />
<source>
<include>
<directory suffix=".php">src</directory>
</include>
<exclude>
<directory suffix=".php">src/Tempest/**/tests</directory>
<directory suffix=".cache.php">src</directory>
</exclude>
</source>
<php>
<env name="ENVIRONMENT" value="testing" />
<env name="BASE_URI" value="" />
<env name="CACHE" value="null" />
<env name="DISCOVERY_CACHE" value="true" />
<env name="DEBUG_LOG_PATH" value="log/debug.test.log" />
<env name="SERVER_LOG_PATH" value="log/server.test.log" />
<ini name="memory_limit" value="256M" />
</php>
</phpunit>