[cvs] [Wiki] changed: SyncMLCreateTestCases

Karsten Fourmont karsten at horde.org
Sun Jan 14 06:54:59 PST 2007


karsten  Sun, 14 Jan 2007 06:54:59 -0800

Modified page: http://wiki.horde.org/SyncMLCreateTestCases
New Revision:  1.7
Change log:  rewording

@@ -9,22 +9,22 @@
  Here's how to create a test case:
  
  * Preparations in Horde:
   * create a user "syncmltest" with password "syncmltest" in horde. If the user's already there first delete and then recreate to get a fresh start.
- * create at least one test entry in the app you want to test (kronolith|nag|mnemo|turba). The entry should be named like "server..." (e.g. server1) and the description should contain an umlaut for charset testing. If you're creating a test case for the calendar, you should create at least two: one with an all day event and one with a normal (like 2hour) event.
+ * create at least one test entry in the app you want to test (kronolith|nag|mnemo|turba). The entry should be named like "server##" (e.g. server1) and the description should contain an umlaut for charset testing. If you're creating a test case for the calendar, you should create at least two: one with an all day event and one with a normal (like 2hour) event.
  
  * Preparations in the Client (PDA/Outlook/whatever)
- * Create at least one testentry named "client...". The database must only contain this single entry (so you might need to do a backup of your phone first). Other than that the same information as for the test entries in horde above apply (umlauts, all day events).
+ * Create at least one test entry named "client##". The database must only contain this single entry (so you might need to do a backup of your phone first). Other than that the same information as for the test entries in horde above apply (umlauts, all day events).
  
  * Clean /tmp/sync: {{rm/tmp/sync/}}
  
  * Clean Horde !SyncML Data. Login as user syncmltest and go to {{http:[yourinstall]/horde/services/portal/syncml.php}}. Use the button "Delete all !SyncML Data" to delete all data for the syncmltest user. 
  
  * Do a first sync run
  
-* In Horde: rename the "client..." entry to "client...s1" and create a new simple entry like "server99"
+* In Horde: rename all the "client..." entries to "client...s" ("s" to identify a client entry edited in the server). Create a new simple entry like "server99"
  
-* In the client: rename "server..." to "server...c1" and create a new simple  entry named "client99"
+* In the client: rename all the "server..." entries to "server...c". Create a new simple entry named "client99"
  
  * Do second sync run
  
  * Do a third sync run. This should do nothing
@@ -36,9 +36,9 @@
  * do a fourth sync run
  
  * do a fifth sync run. This should do nothing.
  
-* The test itself is now finished. Create an archive of all the stuff in /tmp/sync and mail it to karsten --at-- horde.org to verify the testcase and afterwards addition to cvs.
+* The test itself is now finished. Create an archive of all the stuff in /tmp/sync and mail it to karsten --at-- horde.org to verify the testcase and afterwards add it to cvs.
  
  For developers:
  
  * If the phone uses wbxml this must be converted to xml first: {{for a in *.wbxml; do wbxml2xml -m 0 -o `basename $a .wbxml`.xml $a; done }}


More information about the cvs mailing list