-
Notifications
You must be signed in to change notification settings - Fork 25
/
Copy pathphpunit.xml.dist
58 lines (49 loc) · 1.92 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"
>
<!-- Add any additional test suites you want to run here -->
<testsuites>
<testsuite name="Database Test Suite">
<file>./tests/TestCase/DatabaseSuite.php</file>
</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>
<listener
class="\CakeDC\OracleDriver\TestSuite\Fixture\OracleFixtureInjector"
file="./src/TestSuite/Fixture/OracleFixtureInjector.php">
<arguments>
<object class="\CakeDC\OracleDriver\TestSuite\Fixture\OracleFixtureManager"/>
</arguments>
</listener>
</listeners>
<!-- Prevent coverage reports from looking in tests, vendors, config folders -->
<filter>
<whitelist>
<directory suffix=".php">./src/</directory>
<directory suffix=".ctp">./src/</directory>
</whitelist>
</filter>
<php>
<ini name="memory_limit" value="-1"/>
<ini name="apc.enable_cli" value="1"/>
<env name="db_dsn"
value="oracle://username:password@XE?className=CakeDC\OracleDriver\Database\OracleConnection&driver=CakeDC\OracleDriver\Database\Driver\OracleOCI&host=oracle11g&database=XE"/>
<!-- oracle pdo
<env name="db_dsn" value="oracle://username:password@XE?className=CakeDC\OracleDriver\Database\OracleConnection&driver==CakeDC\OracleDriver\Database\Driver\OraclePDO&host=oracle11g&database=XE"/>
oracle oci
<env name="db_dsn" value="oracle://username:password@XE?className=CakeDC\OracleDriver\Database\OracleConnection&driver==CakeDC\OracleDriver\Database\Driver\OracleOCI&host=oracle11g&database=XE"/>
-->
</php>
</phpunit>