forked from cakephp/migrations
-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpunit.xml.dist
47 lines (42 loc) · 1.43 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
<?xml version="1.0" encoding="UTF-8"?>
<phpunit
colors="true"
bootstrap="tests/bootstrap.php"
>
<testsuites>
<testsuite name="migrations">
<directory>tests/TestCase</directory>
<exclude>tests/TestCase/TestSuite</exclude>
</testsuite>
<testsuite name="migrator">
<directory>tests/TestCase/TestSuite</directory>
</testsuite>
</testsuites>
<extensions>
<extension class="Cake\TestSuite\Fixture\PHPUnitExtension" />
</extensions>
<!-- Prevent coverage reports from looking in tests, vendors, config folders -->
<filter>
<whitelist>
<directory suffix=".php">src/</directory>
</whitelist>
</filter>
<php>
<env name="FIXTURE_SCHEMA_METADATA" value="./tests/schema.php"/>
<ini name="memory_limit" value="-1"/>
<ini name="apc.enable_cli" value="1"/>
<!-- SQLite
<env name="DB" value="sqlite"/>
<env name="DB_URL" value="sqlite://127.0.0.1/cakephp_test"/>
-->
<!-- Postgres
<env name="DB" value="pgsql"/>
<env name="DB_URL" value="postgres://localhost/cake_test?timezone=UTC"/>
-->
<!-- Mysql
<env name="DB" value="mysql"/>
<env name="DB_URL" value="mysql://localhost/cake_test?timezone=UTC"/>
<env name="DB_URL_COMPARE" value="mysql://localhost/cake_comparison"/>
-->
</php>
</phpunit>