forked from gnikyt/laravel-shopify
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathphpunit.xml
53 lines (48 loc) · 1.88 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
51
52
53
<?xml version="1.0" encoding="UTF-8"?>
<phpunit bootstrap="vendor/autoload.php"
backupGlobals="false"
backupStaticAttributes="false"
colors="true"
cacheTokens="false"
verbose="false"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
processIsolation="false"
stopOnFailure="true"
stopOnError="true"
stopOnIncomplete="false"
stopOnSkipped="false">
<testsuites>
<testsuite name="Laravel Shopify Test Suite">
<directory>tests</directory>
</testsuite>
</testsuites>
<filter>
<whitelist>
<directory suffix=".php">src/ShopifyApp/</directory>
<exclude>
<!-- No need to test this -->
<directory>src/ShopifyApp/resources/</directory>
<!-- No need to test value objects or enums as its from a package -->
<directory>src/ShopifyApp/Objects/Values/</directory>
<directory>src/ShopifyApp/Objects/Enums/</directory>
<!-- Nothing to test here -->
<directory>src/ShopifyApp/Contracts/</directory>
<!-- Nothing to test here -->
<directory>src/ShopifyApp/Exceptions/</directory>
<!-- Nothing to test in here, all Laravel code -->
<file>src/ShopifyApp/ShopifyAppProvider.php</file>
<!-- Nothing to test here -->
<file>src/ShopifyApp/Messaging/Events/AppLoggedIn.php</file>
</exclude>
</whitelist>
</filter>
<logging>
<log type="coverage-clover" target="build/logs/clover.xml" />
<log type="coverage-text" target="php://stdout" />
</logging>
<php>
<env name="APP_KEY" value="AckfSECXIvnK5r28GVIWUAxmbBSjTsmF" />
</php>
</phpunit>