Search GimmeJob

Type at least 2 characters. Enter also searches by meaning.
QA interview question
MobileSeniorCommonScenario

How would you test an app upgrade that migrates local user data?

Answer

Create representative data on supported old versions, upgrade through valid paths, verify schema transformation, encryption, rollback policy and synchronization. Cover low storage, interrupted migration, reinstall, downgrade restrictions and recovery from corrupt legacy data.

Strong answer includes

  • real upgrade paths
  • interruption and rollback
  • data integrity and recovery

Practical example

Before releasing a new local-database schema, the team seeds a device with two years of realistic data on the oldest supported version, upgrades it, then kills the app mid-migration to simulate a crash, and confirms the app detects the incomplete migration on next launch and resumes instead of corrupting the user's data.

#upgrade#migration#local-storage

Sources

Android testing documentationGoogle · Android test layers, devices, lifecycle and toolingDOU — QA interview: 250+ questionsDOU · Coverage signal across Junior, Middle, Senior, AQA, web, mobile and practical topics