-
Notifications
You must be signed in to change notification settings - Fork 27
/
Copy pathphpunit.xml
50 lines (50 loc) · 1.84 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
38
39
40
41
42
43
44
45
46
47
48
49
50
<?xml version="1.0" encoding="UTF-8"?>
<phpunit
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/8.5/phpunit.xsd"
backupGlobals="true"
backupStaticAttributes="false"
bootstrap="./vendor/autoload.php"
cacheTokens="false"
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
processIsolation="false"
stopOnError="false"
stopOnFailure="false"
stopOnIncomplete="false"
stopOnSkipped="false"
stopOnRisky="false"
timeoutForSmallTests="1"
timeoutForMediumTests="10"
timeoutForLargeTests="60"
verbose="true">
<!-- SET THESE PARAMETERS BEFORE RUNNING TESTS -->
<php>
<env name="MPESA_API_HOST" value="api.sandbox.vm.co.mz"/>
<env name="MPESA_PUBLIC_KEY" value="" />
<env name="MPESA_API_KEY" value="" />
<env name="MPESA_ORIGIN" value="" />
<env name="MPESA_SERVICE_PROVIDER_CODE" value="" />
<env name="MPESA_SECURITY_CREDENTIAL" value="" />
<env name="MPESA_INITIATOR_IDENTIFIER" value="" />
<env name="MPESA_CUSTOMER_MSISDN" value="" />
<env name="MPESA_B2B_RECEIVER" value="" />
</php>
<!-- DO NOT EDIT BELOW THIS LINE -->
<testsuites>
<testsuite name="M-Pesa API Test Suite">
<directory suffix=".php">./tests/</directory>
</testsuite>
</testsuites>
<filter>
<whitelist processUncoveredFilesFromWhitelist="true">
<directory suffix=".php">./src/</directory>
</whitelist>
</filter>
<logging>
<log type="coverage-html" target="./tests/coverage/"/>
<log type="coverage-text" target="php://stdout"/>
</logging>
</phpunit>