forked from phpcr/phpcr-api-tests
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathphpunit.dist.xml
49 lines (44 loc) · 1.73 KB
/
phpunit.dist.xml
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
<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="jcr.url" value="http://localhost:8080/server" />
<var name="jcr.user" value="admin" />
<var name="jcr.pass" value="admin" />
<var name="jcr.workspace" value="tests" />
<var name="jcr.transport" value="davex" />
</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 unit tests -->
<directory>../tests</directory>
<!-- ignore the api tests -->
<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>