-
Notifications
You must be signed in to change notification settings - Fork 19
/
Copy pathphpunit.xml.dist
55 lines (55 loc) · 1.99 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
49
50
51
52
53
54
55
<?xml version="1.0" encoding="UTF-8"?>
<phpunit
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd"
backupGlobals="false"
backupStaticAttributes="false"
beStrictAboutOutputDuringTests="true"
bootstrap="vendor/autoload.php"
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
executionOrder="random"
failOnEmptyTestSuite="true"
failOnRisky="true"
failOnWarning="true"
processIsolation="false"
stopOnFailure="false"
verbose="true"
>
<testsuites>
<testsuite name="Functional">
<directory>./tests/Functional</directory>
</testsuite>
<testsuite name="Unit">
<directory>./tests/Unit</directory>
</testsuite>
</testsuites>
<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>
<logging>
<junit outputFile="build/report.junit.xml"/>
</logging>
<php>
<env name="APP_ENV" value="testing"/>
<!-- <env name="VIVA_API_KEY" value="test-api-key"/>
<env name="VIVA_MERCHANT_ID" value="test-merchant-id"/>
<env name="VIVA_ENVIRONMENT" value="demo"/>
<env name="VIVA_SOURCE_CODE" value="viva-source-code"/>
<env name="VIVA_CLIENT_ID" value="viva-client-id"/>
<env name="VIVA_CLIENT_SECRET" value="viva-client-secret"/>
<env name="VIVA_ISV_CLIENT_ID" value="viva-isv-client-id"/>
<env name="VIVA_ISV_CLIENT_SECRET" value="viva-isv-client-secret"/>
<env name="VIVA_ISV_PARTNER_ID" value="viva-isv-partner-id"/>
<env name="VIVA_ISV_PARTNER_API_KEY" value="viva-isv-partner-api-key"/> -->
</php>
</phpunit>