forked from jackalope/jackalope-doctrine-dbal
-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpunit.xml.dist
66 lines (58 loc) · 2.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
58
59
60
61
62
63
64
65
66
<phpunit backupGlobals="false"
backupStaticAttributes="false"
cacheTokens="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
processIsolation="false"
stopOnFailure="false"
bootstrap="tests/bootstrap.php">
<php>
<ini name="memory_limit" value="512M"/>
<var name="phpcr.user" value="admin" />
<var name="phpcr.pass" value="admin" />
<var name="phpcr.workspace" value="tests" />
<var name="phpcr.defaultWorkspace" value="default" />
<var name="phpcr.additionalWorkspace" value="testsAdditional" />
<var name="data_caches" value="meta,nodes" />
<!-- Doctrine DBAL database configuration -->
<var name="phpcr.doctrine.dbal.driver" value="pdo_sqlite" />
<var name="phpcr.doctrine.dbal.path" value="phpcr_tests.db" />
<var name="phpcr.doctrine.dbal.host" value="localhost"/>
<var name="phpcr.doctrine.dbal.username" value="jackalope"/>
<var name="phpcr.doctrine.dbal.password" value=""/>
<var name="phpcr.doctrine.dbal.dbname" value="phpcr_tests"/>
</php>
<testsuites>
<testsuite name="Jackalope Doctrine DBAL Tests">
<directory>tests/Jackalope/Transport</directory>
<directory>tests/Jackalope/Tools</directory>
<directory>vendor/jackalope/jackalope/tests</directory>
<directory>vendor/phpcr/phpcr/tests</directory>
<directory>vendor/phpcr/phpcr-utils/tests</directory>
<directory>vendor/phpcr/phpcr-api-tests/</directory>
</testsuite>
</testsuites>
<!-- configuration for code coverage report -->
<filter>
<whitelist>
<directory>src</directory>
<directory>vendor/jackalope/jackalope/src</directory>
<directory>vendor/phpcr/phpcr/src</directory>
<directory>vendor/phpcr/phpcr-utils/src</directory>
<exclude>
<!-- ignore whats not implemented yet -->
<directory>vendor/phpcr/phpcr/src/PHPCR/Version</directory>
<directory>vendor/jackalope/jackalope/src/Jackalope/Version</directory>
<directory>vendor/phpcr/phpcr/src/PHPCR/Lock</directory>
<directory>vendor/jackalope/jackalope/src/Jackalope/Lock</directory>
<directory>vendor/phpcr/phpcr/src/PHPCR/Observation</directory>
<directory>vendor/jackalope/jackalope/src/Jackalope/Observation</directory>
<directory>vendor/phpcr/phpcr/src/PHPCR/Retention</directory>
<directory>vendor/jackalope/jackalope/src/Jackalope/Retention</directory>
<directory>vendor/phpcr/phpcr/src/PHPCR/Security</directory>
<directory>vendor/jackalope/jackalope/src/Jackalope/Security</directory>
</exclude>
</whitelist>
</filter>
</phpunit>