-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathphpunit.xml
46 lines (44 loc) · 1.71 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
<?xml version="1.0" encoding="UTF-8"?>
<phpunit bootstrap="tests/bootstrap.php"
colors="true"
backupGlobals="false"
backupStaticAttributes="false"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
processIsolation="false"
stopOnFailure="false"
syntaxCheck="false"
>
<testsuites>
<testsuite name="Application Test Suite">
<directory>tests</directory>
</testsuite>
</testsuites>
<filter>
<whitelist addUncoveredFilesFromWhitelist="true">
<directory suffix=".php">src</directory>
<exclude>
<file suffix=".php">tests/bootstrap.php</file>
<directory suffix=".php">vendor</directory>
</exclude>
</whitelist>
</filter>
<php>
<env name="APPLICATION_ENVIRONMENT" value="testing"/>
<env name="CACHE_DRIVER" value="array"/>
<env name="SESSION_DRIVER" value="array"/>
<env name="QUEUE_DRIVER" value="sync"/>
<env name="DATABASE_DRIVER" value="sqlite"/>
<env name="API_BASE_URL" value="http://scotttactical.com/"/>
<env name="API_BASE_PATH" value="api/"/>
<env name="API_DOCUMENTATION_URL" value="https://github.com/solvire/php-hypermedia-api"/>
<env name="APPLICATION_NAME" value="hypermedia-test"/>
<env name="API_VERSION" value="v0.1"/>
<env name="API_DESCRIPTION" value="An API Description - ST"/>
</php>
<logging>
<log type="coverage-html" target="../coverage/hypermedia" charset="UTF-8"
yui="true" highlight="true" lowUpperBound="50" highLowerBound="80" />
</logging>
</phpunit>