forked from cakephp/cakephp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpunit.xml.dist
57 lines (52 loc) · 1.74 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
55
56
57
<?xml version="1.0" encoding="UTF-8"?>
<phpunit
colors="true"
processIsolation="false"
stopOnFailure="false"
syntaxCheck="false"
bootstrap="./tests/bootstrap.php"
backupGlobals="true"
>
<php>
<ini name="memory_limit" value="-1"/>
<ini name="apc.enable_cli" value="1"/>
</php>
<testsuites>
<testsuite name="CakePHP Test Suite">
<directory>./tests/TestCase/</directory>
<!-- Excludes are required in order to let DatabaseSuite decorate the tests -->
<exclude>./tests/TestCase/Database/</exclude>
<exclude>./tests/TestCase/ORM/</exclude>
</testsuite>
<testsuite name="Database Test Suite">
<file>./tests/TestCase/DatabaseSuite.php</file>
</testsuite>
</testsuites>
<listeners>
<listener class="\Cake\TestSuite\Fixture\FixtureInjector" file="./src/TestSuite/Fixture/FixtureInjector.php">
<arguments>
<object class="\Cake\TestSuite\Fixture\FixtureManager" />
</arguments>
</listener>
</listeners>
<!-- Prevent coverage reports from looking in tests, vendors, config folders -->
<filter>
<whitelist>
<directory suffix=".php">./src/</directory>
</whitelist>
</filter>
<php>
<!-- SQLite
<env name="db_dsn" value="sqlite:///:memory:"/>
-->
<!-- Postgres
<env name="db_dsn" value="postgres://localhost/cake_test?timezone=UTC"/>
-->
<!-- Mysql
<env name="db_dsn" value="mysql://localhost/cake_test?timezone=UTC"/>
-->
<!-- SQL Server
<env name="db_dsn" value="sqlserver://localhost/cake_test?timezone=UTC"/>
-->
</php>
</phpunit>