forked from robertmain/Treasure-Hunt
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathphpunit.xml
37 lines (37 loc) · 1.51 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
<?xml version="1.0" encoding="UTF-8"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/7.0/phpunit.xsd"
bootstrap="tests/bootstrap.php"
backupGlobals="false"
backupStaticAttributes="false"
beStrictAboutCoversAnnotation="true"
beStrictAboutOutputDuringTests="true"
beStrictAboutTestsThatDoNotTestAnything="true"
beStrictAboutTodoAnnotatedTests="true"
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
printerClass="LimeDeck\Testing\Printer"
verbose="false">
<testsuites>
<testsuite name="models">
<directory suffix=".spec.php">tests/models</directory>
</testsuite>
<testsuite name="controllers">
<directory suffix=".spec.php">tests/controllers</directory>
</testsuite>
</testsuites>
<filter>
<whitelist processUncoveredFilesFromWhitelist="true">
<directory suffix=".php">src</directory>
<exclude>
<directory suffix=".php">src/config</directory>
<directory suffix=".php">src/hooks</directory>
<directory suffix=".php">src/logs</directory>
<directory suffix=".php">src/migrations</directory>
<directory suffix=".php">src/views</directory>
</exclude>
</whitelist>
</filter>
</phpunit>