diff options
author | Zhu, Yongsheng <yongsheng.zhu@intel.com> | 2010-12-07 20:15:56 -0500 |
---|---|---|
committer | Patrick Ohly <patrick.ohly@intel.com> | 2010-12-08 10:56:16 +0100 |
commit | 486adfe6732568617c7812bc557e4532b89f2f18 (patch) | |
tree | 69fc739eaf0c725678146ce99ab28299c9638c62 | |
parent | ef90bfeb3306ebc076d3872bb363bcac8c36a650 (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.
-rw-r--r-- | HACKING | 27 |
1 files changed, 27 insertions, 0 deletions
@@ -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 |