-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathphpunit.xml.dist
50 lines (43 loc) · 1.78 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
<?xml version="1.0" encoding="UTF-8"?>
<!-- https://phpunit.de/manual/current/en/appendixes.configuration.html -->
<phpunit
backupGlobals = "false"
backupStaticAttributes = "false"
colors = "true"
convertErrorsToExceptions = "true"
convertNoticesToExceptions = "true"
convertWarningsToExceptions = "true"
processIsolation = "false"
stopOnFailure = "false"
syntaxCheck = "false"
bootstrap = "vendor/autoload.php"
>
<testsuites>
<testsuite name="PrintSites Deliv Tests">
<directory>./tests</directory>
</testsuite>
</testsuites>
<filter>
<blacklist>
<directory>./vendor</directory>
<directory>./results</directory>
</blacklist>
<whitelist>
<directory suffix=".php">./src</directory>
</whitelist>
</filter>
<php>
<const name="DELIV_API_KEY" value="YOURAPIKEYHERE="/>
<const name="GOOGLE_MAP_API_KEY" value="GOOGLE MAPS API KEY"/>
<const name="TEST_EMAIL_ADDRESS" value="[TEST_EMAIL_HERE]"/>
<const name="TEST_EMAIL_PASSWORD" value="[TEST_EMAIL_PASSWORD_HERE]"/>
<const name="TEST_EMAIL_SERVER" value="[TEST_EMAIL_SERVER_HERE]"/>
<const name="TEST_EMAIL_SERVER_PORT" value="[TEST_EMAIL_SERVER_PORT_HERE]"/>
<const name="TEST_WEBHOOK" value="[TEST_WEBHOOK_HERE]"/>
</php>
<logging>
<log type="coverage-xml" target="results/phpunit/coverage"/>
<log type="coverage-clover" target="results/phpunit/clover.xml"/>
<log type="junit" target="results/phpunit/junit/index.xml" logIncompleteSkipped="false"/>
</logging>
</phpunit>