summaryrefslogtreecommitdiff
path: root/HACKING
diff options
context:
space:
mode:
authorZhu, Yongsheng <yongsheng.zhu@intel.com>2010-12-07 20:15:56 -0500
committerPatrick Ohly <patrick.ohly@intel.com>2010-12-08 10:56:16 +0100
commit486adfe6732568617c7812bc557e4532b89f2f18 (patch)
tree69fc739eaf0c725678146ce99ab28299c9638c62 /HACKING
parentef90bfeb3306ebc076d3872bb363bcac8c36a650 (diff)
HACKING: add one section to describe testing Buteo
Add one section in HACKING to describe how to test Buteo in SyncEvolution. Maily show how to setup the environment step-by-step.
Diffstat (limited to 'HACKING')
-rw-r--r--HACKING27
1 files changed, 27 insertions, 0 deletions
diff --git a/HACKING b/HACKING
index 3ce1b09a..0021fc61 100644
--- a/HACKING
+++ b/HACKING
@@ -352,3 +352,30 @@ crash scenarios the final error messages may get lost. To debug such
cases, disable redirection by setting the environment variable
SYNCEVOLUTION_DEBUG (value doesn't matter) and capture the output
normally.
+
+Testing Buteo
+---------
+
+SyncEvolution enables Buteo testing based client-test. Configure with
+--enable-integration-tests and --enable-buteo-tests and then run
+"src/client-test" to test Buteo with the above described environment
+variables. The only difference is that you have to set a new one
+"CLIENT_TEST_BUTEO=1". Buteo testing supports testing two kinds of
+data: qt_vcard30 and kcal_ical20.
+
+Here are step-by-step instructions to get started with Buteo testing,
+also using ScheduleWorld as example:
+- CLIENT_TEST_SERVER=scheduleworld \
+ CLIENT_TEST_EVOLUTION_PREFIX=file:///tmp/testing/ \
+ ./client-test -h
+ => creates ~/.config/syncevolution/scheduleworld_[12]/ configs
+ which use data bases under /tmp/testing, then
+ prints all available tests
+- create Buteo sync profile file ~/.sync/profiles/sync/scheduleworld.xml
+ and edit and enter account data for ScheduleWorld.
+- chmod -R 666 /etc/sync
+ => change the access mode of the directory /etc/sync
+- CLIENT_TEST_SERVER=scheduleworld \
+ CLIENT_TEST_EVOLUTION_PREFIX=file:///tmp/testing/ \
+ ./client-test Client::Sync::qt_vcard30
+ => runs all tests for qt_vcard30