blob: 296974d49beb7f5f872b4c1298f009e303f6f3e7 (
plain)
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
|
Unit Tests for iRony CalDAV/CardDAV/WebDAV Server
=================================================
The tests are based on the [CalDAVTester][1] suite and require the Python-based
suite to be installed and set up before.
Installation
------------
Download and configure the CalDAVTester suite according to the descroptions
in the [wiki][1]. Install it anywhere on your system.
Make sure the pxcalendar package is installed. Do this by running
$ cd <path-to-caldavtester-directory>
$ ./run.py -s
Configure Tests
---------------
The settings for the Kolab server to test are saved in `serverinfo.xml`
located in this `test` folder.
Adjust the following properties in your local `serverinfo.xml` file:
* serverinfo.host
as well as the values of the following substitution keys:
* $root:
* $userid%d:
* $username%d:
* $username-encoded%d:
* $firstname%d:
* $lastname%d:
* $pswd%d:
Make sure that two users matching the patterns of $userid%d and subsequent do
exist on the Kolab server that is to be tested with. Default user accounts
are set to dav.user01@<domain> and dav.user02@<domain> with password "12345".
Running the Tests
-----------------
This `test` directory contains a helper script `runtests.sh` that runs all
tests with the CalDAVTester suite. Run it as follows:
$ cd <iRony-directory>/test
$ ./runtests.sh <path-to-caldavtester-directory>
[1]: http://trac.calendarserver.org/wiki/CalDAVTester
|