/
phpunit.xml.dist
53 lines (51 loc) · 1.54 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/init.php"
>
<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/Model/</exclude>
<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>
<php>
<!-- SQLite
<env name="db_class" value="Cake\Database\Driver\Sqlite"/>
<env name="db_dsn" value="sqlite::memory:"/>
-->
<!-- Postgres
<env name="db_class" value="Cake\Database\Driver\Postgres"/>
<env name="db_database" value="cake_test"/>
<env name="db_login" value=""/>
<env name="db_password" value=""/>
-->
<!-- Mysql
<env name="db_class" value="Cake\Database\Driver\Mysql"/>
<env name="db_dsn" value="mysql:host=localhost;dbname=cake_test"/>
<env name="db_database" value=""/>
<env name="db_login" value=""/>
<env name="db_password" value=""/>
-->
</php>
</phpunit>