-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathphpunit.xml.dist
48 lines (46 loc) · 1.98 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
41
42
43
44
45
46
47
48
<?xml version="1.0" encoding="UTF-8"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
resolveDependencies="true" bootstrap="vendor/autoload.php" backupGlobals="false" backupStaticAttributes="false"
colors="true" verbose="true" convertErrorsToExceptions="true" convertNoticesToExceptions="true"
convertWarningsToExceptions="true" processIsolation="false" stopOnFailure="false"
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd">
<coverage>
<include>
<directory suffix=".php">src/</directory>
</include>
<report>
<clover outputFile="build/logs/clover.xml"/>
<html outputDirectory="build/coverage"/>
<text outputFile="build/coverage.txt"/>
</report>
</coverage>
<testsuites>
<testsuite name="acceptance">
<directory>tests/Acceptance</directory>
</testsuite>
<testsuite name="unit">
<directory>tests/Unit</directory>
</testsuite>
<testsuite name="infrastructure">
<directory>tests/Infrastructure</directory>
</testsuite>
</testsuites>
<logging>
<junit outputFile="build/report.junit.xml"/>
</logging>
<php>
<env name="APP_KEY" value="base64:qS0gL9WK3DppyAiXy79dURhU+ecb6k9aryqyOmpHjF8="/>
<env name="APP_ENV" value="testing"/>
<env name="CACHE_DRIVER" value="array"/>
<env name="SESSION_DRIVER" value="array"/>
<env name="QUEUE_DRIVER" value="sync"/>
<env name="DB_CONNECTION" value="testing"/>
<!-- Uncomment this to run testsuite with mysql -->
<!-- <env name="DB_CONNECTION" value="mysql"/>-->
<!-- <env name="DB_USERNAME" value="root"/>-->
<!-- <env name="DB_PASSWORD" value=""/>-->
<!-- <env name="DB_DATABASE" value="trader-test"/>-->
<!-- <env name="DB_HOST" value="127.0.0.1" />-->
<!-- <env name="DB_PORT" value="3306" />-->
</php>
</phpunit>