Testing

You need to test the following scenarios under Cloud Services.

  • Once after re-installing the app, the data needs to be retained post first sync

  • Data should exist on other devices for the same account once a syncronize is successful

Cloud Services testing needs to be performed on real mobile hardware device

Testing data post re-install

  1. Call Syncronize for the first time of launch and it prompts a login if required to connect user profile.

  2. Set a key value and note the details

  3. Wait for syncronize or call Syncronize manually

  4. Uninstall the app

  5. Install the app again

  6. Call Syncronize

  7. Get the key value set in step 2

  8. Check data in step 2 and step 7 and they should match.

Data existence on other devices

  1. Call Syncronize for the first time of launch and it prompts a login if required to connect user profile.

  2. Set a key value and note the details

  3. Wait for syncronize or call Syncronize manually

  4. Jump to another device with same user account (iCloud on iOS, Google Play on Android)

  5. Call Syncronize

  6. Get the value for key set in step 2

  7. Check data in step 2 and step 7 and they should match.

On Android, we always consider the data copy which has the longest play time for conflict resolution in case of any conflicts.

‚Äč