forked from cakephp/acl
-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpunit.xml.dist
57 lines (55 loc) · 1.63 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"
>
<php>
<ini name="memory_limit" value="-1"/>
<ini name="apc.enable_cli" value="1"/>
</php>
<testsuites>
<testsuite name="Acl Plugin Test Suite">
<directory>./tests/TestCase/</directory>
</testsuite>
</testsuites>
<listeners>
<listener class="\Cake\TestSuite\Fixture\FixtureInjector" file="./vendor/cakephp/cakephp/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=""/>
-->
<!-- SQL Server
<env name="db_class" value="Cake\Database\Driver\Sqlserver"/>
<env name="db_dsn" value="sqlsrv:Server=localhost;Database=cake_test;MultipleActiveResultSets=false"/>
<env name="db_login" value=""/>
<env name="db_password" value=""/>
-->
</php>
<filter>
<whitelist>
<directory suffix=".php">./src/</directory>
</whitelist>
</filter>
</phpunit>