-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathphpunit.xml.dist
53 lines (47 loc) · 1.6 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
<?xml version="1.0" encoding="UTF-8"?>
<phpunit
colors="true"
processIsolation="false"
stopOnFailure="false"
syntaxCheck="false"
bootstrap="./tests/bootstrap.php"
>
<php>
<ini name="memory_limit" value="-1"/>
<ini name="apc.enable_cli" value="1"/>
</php>
<testsuites>
<testsuite name="Vine Test Suite">
<directory>./tests/TestCase/</directory>
<!-- Excludes are required in order to let DatabaseSuite decorate the tests -->
<exclude>./tests/TestCase/Log</exclude>
<exclude>./tests/TestCase/Http/</exclude>
<exclude>./tests/TestCase/Mysql/</exclude>
<exclude>./tests/TestCase/View/</exclude>
</testsuite>
</testsuites>
<!-- Prevent coverage reports from looking in tests, vendors, config folders -->
<filter>
<blacklist>
<directory suffix=".php">./vendor/</directory>
<directory suffix=".ctp">./vendor/</directory>
<directory suffix=".php">./tests/</directory>
<directory suffix=".ctp">./tests/</directory>
<directory suffix=".php">./config/</directory>
</blacklist>
</filter>
<php>
<!-- SQLite
<env name="db_dsn" value="sqlite:///:memory:"/>
-->
<!-- Postgres
<env name="db_dsn" value="postgres://localhost/cake_test"/>
-->
<!-- Mysql
<env name="db_dsn" value="mysql://localhost/cake_test"/>
-->
<!-- SQL Server
<env name="db_dsn" value="sqlserver://localhost/cake_test"/>
-->
</php>
</phpunit>