-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathphpunit.xml
37 lines (37 loc) · 1.24 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
<?xml version="1.0" encoding="UTF-8"?>
<phpunit backupGlobals="false"
backupStaticAttributes="false"
bootstrap="vendor/autoload.php"
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
processIsolation="false"
stopOnFailure="false">
<testsuites>
<testsuite name="package">
<directory suffix=".php">tests</directory>
</testsuite>
</testsuites>
<filter>
<whitelist processUncoveredFilesFromWhitelist="true">
<directory suffix=".php">src</directory>
</whitelist>
</filter>
<php>
<env name="HUBTEL_ACCOUNT_NUMBER" value="123"/>
<env name="HUBTEL_CLIENT_ID" value="456"/>
<env name="HUBTEL_CLIENT_SECRET" value="789"/>
<env name="HUBTEL_CALLBACK_URL" value="http://success.example.com"/>
<env name="HUBTEL_SECONDARY_CALLBACK_URL" value="http://error.example.com"/>
</php>
<logging>
<log type="junit" target="build/phpunit-junit-report.xml" />
<log type="coverage-clover" target="build/phpunit-clover-coverage.xml"/>
<log type="coverage-html"
target="build/coverage"
lowUpperBound="35"
highLowerBound="70"
/>
</logging>
</phpunit>