[cvs] [Wiki] changed: SyncMLTestCases

Karsten Fourmont karsten at horde.org
Tue Jan 2 05:59:05 PST 2007


karsten  Tue, 02 Jan 2007 05:59:05 -0800

Modified page: http://wiki.horde.org/SyncMLTestCases
New Revision:  1.1
Change log:  more details

@@ -1,18 +1,22 @@
-+ How to write a SyncML test case
++ How to write a !SyncML test case
  
-The !SyncML package contains a testing script to replay prerecorded test sessions. This allows the developers to check if changes break things for one particular phone. So it would be great to have test cases for as many phones as possible. Here's how to create one:
+The !SyncML package contains a testing script to replay prerecorded test sessions. This allows the developers to check if changes break things for one particular phone. So it would be great to have test cases for as many phones as possible. 
+
+Each test case should be for one database (like calendar or addressbook, but not both). The exception is for phones that handle tasks and calendar in one database like the P900 does. Here you should create test entries for tasks and calendar at the same time to see if it works properly.
+
+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 a single test entry in the app you want to test (kronolith|nag|mnemo|turba). The entry should be named "server1" and the description should contain an umlaut for charset testing.
+ * create at least one test entry in the app you want to test (kronolith|nag|mnemo|turba). The entry should be named like "server1" and the description should contain an umlaut for charset testing. If your 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 a single testentry named "client1". A description containing an umlaut is also helpful. The database must only contain this single entry (so you might need to do a backup of your phone first)
+ * Create at least one testentry named "client1". 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.
+* 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. If no such button is there there's no !SyncML data and so no need for deletion. That's fine too of course.
  
  * Do a first sync run
  
  * In Horde: rename the "client1" entry to "client1s1" and create a new simple entry named "server2"


More information about the cvs mailing list