-
Notifications
You must be signed in to change notification settings - Fork 69
/
phpunit.xml
42 lines (41 loc) · 1.6 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
<?xml version="1.0" encoding="UTF-8"?>
<phpunit backupGlobals="false"
backupStaticAttributes="false"
beStrictAboutTestsThatDoNotTestAnything="true"
beStrictAboutOutputDuringTests="true"
bootstrap="vendor/autoload.php"
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
failOnRisky="true"
failOnWarning="true"
processIsolation="false"
stopOnError="false"
stopOnFailure="false"
verbose="true"
>
<testsuites>
<testsuite name="Stripe Package Test Suite">
<directory suffix="Test.php">./tests/</directory>
<exclude>./tests/Api/PayoutsTest.php</exclude>
<exclude>./tests/Api/Terminal/LocationsTest.php</exclude>
</testsuite>
</testsuites>
<filter>
<whitelist>
<directory suffix=".php">./src/</directory>
</whitelist>
</filter>
<logging>
<log type="tap" target="./build/report.tap" showUncoveredFiles="true"/>
<log type="junit" target="./build/report.junit.xml" showUncoveredFiles="true"/>
<log type="coverage-html" target="./build/coverage" showUncoveredFiles="true"/>
<log type="coverage-text" target="./build/coverage.txt" showUncoveredFiles="true"/>
<log type="coverage-clover" target="./build/logs/clover.xml" showUncoveredFiles="true"/>
</logging>
<php>
<env name="STRIPE_API_KEY" value="stripe-api-key"/>
<env name="STRIPE_API_VERSION" value="2017-06-05"/>
</php>
</phpunit>