-
Notifications
You must be signed in to change notification settings - Fork 5
/
phpunit.xml.dist
50 lines (45 loc) · 1.59 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
<?xml version="1.0" encoding="UTF-8"?>
<phpunit
colors="true"
processIsolation="false"
stopOnFailure="false"
bootstrap="tests/bootstrap.php"
defaultTestSuite="functional"
>
<php>
<ini name="memory_limit" value="-1"/>
<ini name="apc.enable_cli" value="1"/>
<!-- Database URL for acceptance and integration tests -->
<!--
<env name="DATABASE_TEST_URL" value="mysql://lists:password@localhost/cake_test" />
-->
<env name="SECURITY_SALT" value="a-random-value-that-you-cannot-guess" />
<!-- no persistent cache in tests -->
<env name="CACHE_DEFAULT_URL" value="array://" />
<env name="CACHE_CAKECORE_URL" value="array://" />
<env name="CACHE_CAKEMODEL_URL" value="array://" />
</php>
<!-- Add any additional test suites you want to run here -->
<testsuites>
<testsuite name="functional">
<directory>tests/TestCase/</directory>
</testsuite>
<testsuite name="acceptance">
<directory>tests/Acceptance/</directory>
</testsuite>
</testsuites>
<extensions>
<bootstrap class="Cake\TestSuite\Fixture\Extension\PHPUnitExtension"/>
<bootstrap class="Symfony\Component\Panther\ServerExtension"/>
</extensions>
<!-- Ignore vendor tests in code coverage reports -->
<source>
<include>
<directory suffix=".php">src/</directory>
<directory suffix=".php">plugins/*/src/</directory>
</include>
<exclude>
<file>src/Console/Installer.php</file>
</exclude>
</source>
</phpunit>