forked from phpcr/phpcr-api-tests
-
Notifications
You must be signed in to change notification settings - Fork 0
/
phpunit.xml.dist
45 lines (41 loc) · 1.61 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
<phpunit backupGlobals="false"
backupStaticAttributes="false"
colors="false"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
processIsolation="false"
stopOnFailure="false"
syntaxCheck="true"
strict="true"
bootstrap="bootstrap.php">
<php>
<!-- set some globals for connection handling.
the following is an example of the jackalope-jackrabbit implementation -->
<var name="jackrabbit.uri" value="http://localhost:8080/server" />
<var name="phpcr.user" value="admin" />
<var name="phpcr.pass" value="admin" />
<var name="phpcr.workspace" value="tests" />
</php>
<testsuites>
<testsuite name="all">
<directory>[name-of-directory-with-test-submodule]/tests/</directory>
<directory>[your-unit-tests-directory]</directory>
</testsuite>
</testsuites>
<!-- configuration for code coverage report -->
<filter>
<whitelist>
<directory>../</directory>
<exclude>
<!-- ignore the tests folder -->
<directory>.</directory>
<!-- ignore whats not implemented yet -->
<directory>../lib/phpcr/src/PHPCR/Lock</directory>
<directory>../lib/phpcr/src/PHPCR/Observation</directory>
<directory>../lib/phpcr/src/PHPCR/Retention</directory>
<directory>../lib/phpcr/src/PHPCR/Security</directory>
</exclude>
</whitelist>
</filter>
</phpunit>