forked from cakephp/migrations
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathphpunit.xml.dist
More file actions
47 lines (42 loc) · 1.36 KB
/
phpunit.xml.dist
File metadata and controls
47 lines (42 loc) · 1.36 KB
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>
</testsuite>
</testsuites>
<!-- Setup a listener for fixtures -->
<listeners>
<listener class="Cake\TestSuite\Fixture\FixtureInjector">
<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>
<ini name="memory_limit" value="-1"/>
<ini name="apc.enable_cli" value="1"/>
<!-- SQLite
<env name="DB" value="sqlite"/>
<env name="db_dsn" value="sqlite://127.0.0.1/cakephp_test"/>
-->
<!-- Postgres
<env name="DB" value="postgres"/>
<env name="db_dsn" value="postgres://localhost/cake_test?timezone=UTC"/>
-->
<!-- Mysql
<env name="DB" value="mysql"/>
<env name="db_dsn" value="mysql://localhost/cake_test?timezone=UTC"/>
<env name="db_dsn_compare" value="mysql://localhost/cake_comparison"/>
-->
</php>
</phpunit>