Andrew McMillan 4178ab4254 Add caching of collection reads
Also a special header is added for telling DAViCal to flush the
cache during regression testing etc.

Signed-off-by: Andrew McMillan <andrew@morphoss.com>
2011-01-01 21:25:46 +13:00
..
2011-01-01 21:25:46 +13:00

Regression Testing
==================

At present these regression tests are basically written to work in my
own environment.  While I am, of course, happy to see patches that make
them more generic they are still very much a work in progress.

In order to run them in your environment you will need to ensure both
the Webserver and Database server run in the 'Pacific/Auckland' timezone
since the regression testing puts a number of events into the database
in a floating timezone, and some responses which are affected by these
events are reported in UTC (mostly freebusy results).

On a Debian system you can do this by adding the line:

  export TZ=Pacific/Auckland

to /etc/apache2/envvars, and the line:

  TZ = 'Pacific/Auckland'

to /etc/postgresql/8.4/main/environment

You will also need to edit regression.conf as indicated in that file.