Projects
Wiki     Timeline     Roadmap     Browse Source     View Tickets     New Ticket     Search

Running CalDAVTester

First make sure your CalDAV server is up and running.

Simple way of running:

cd into the CalDAVTester directory 
./run.py

This will get or update required packages and then run all tests.

If you want explicit control of what tests are run do the following:

cd into the CalDAVTester directory
./run -s
export PYTHONPATH=`./run -p`
./testcaldav.py <<testscriptfile>>

where <<testscriptfile>> is one of the .xml files in the CalDAVTester/scripts/test directory.

Running CalDAV and CardDAV tests for CalendarServer

As of  rev 5460, both CalDAV and CardDAV tests can be run against CalendarServer using a new 'testserver' script, included with CalendarServer. To use this script, make sure that CalendarServer is running, and then from within the CalendarServer root directory, run the command:

./testserver