-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathphpunit.xml.dist
54 lines (48 loc) · 1.89 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
50
51
52
53
54
<?xml version="1.0" encoding="UTF-8" ?>
<!-- pZ: @Deskdoo -->
<!-- http://www.phpunit.de/manual/current/en/appendixes.configuration.html -->
<phpunit
backupGlobals = "false"
backupStaticAttributes = "false"
colors = "false"
convertErrorsToExceptions = "true"
convertNoticesToExceptions = "true"
convertWarningsToExceptions = "true"
processIsolation = "false"
stopOnError = "false"
stopOnFailure = "false"
syntaxCheck = "false"
bootstrap = "index.bootstrap.php"
verbose = "false"
>
<testsuites>
<testsuite name="DeskdooInvoices">
<directory>application/tests</directory>
<!--<exclude>Internal</exclude>-->
</testsuite>
</testsuites>
<php>
<!--<env name="CI_MY_ENGINE" value="true" />-->
<env name="BOOTSTRAP_CLEAR_CACHE_ENV" value="test" />
<server name="REMOTE_ADDR" value="0.0.0.0" />
</php>
<!-- configure the blacklist and whitelist for the CODE COVERAGE reporting -->
<filter>
<whitelist>
<directory>application/core</directory>
<directory>application/helpers</directory>
<directory>application/hooks</directory>
<directory>application/modules/*/controllers</directory>
<directory>application/modules/*/libraries</directory>
<directory>application/modules/*/models</directory>
<exclude>
<directory>application/modules/*/views</directory>
</exclude>
</whitelist>
</filter>
<logging>
<log type="tap" target="application/logs/logfile.tap"/>
<log type="testdox-html" target="application/logs/testdox.html"/>
<log type="testdox-text" target="application/logs/testdox.txt"/>
</logging>
</phpunit>