Skip to content
99tests Blog
Testing guides

App Update Testing: Upgrade Paths, Saved Data and 30 Checks

A practical guide to app update testing: choosing upgrade paths, planting data in the old version, 30 checks with values, and running the update on Android and iPhone.

In this article
  1. What app update testing covers
  2. Why a clean install hides update bugs
  3. Choose the upgrade paths before the test cases
  4. Plant data in the old version first
  5. Data and login: eight checks after every update
  6. Update prompts: optional, forced and in-app
  7. Interrupted updates and the first launch
  8. App update testing on real phones
  9. How to run the update on Android and iPhone
  10. Rollouts slow an update down but cannot undo it
  11. The app update testing checklist on one page
  12. Frequently asked questions

In Nashik, Sunil keeps his hardware shop's credit ledger in a billing app on a Redmi 13C. On Tuesday night the phone sat on its charger and the app updated itself from version 4.2.1 to 4.3.0. On Wednesday morning he opened it to see what a contractor owed him.

The app showed its welcome screen and asked for his mobile number. After the OTP, the ledger listed 0 customers. He had entered 212 of them over 14 months, with ₹3,86,450 of credit outstanding, and the old version sent data to the server only when he tapped Backup.

Every tester at the company had passed 4.3.0. Each had installed it on a phone with nothing on it, where there was no old data to lose. App update testing starts from the other end: the old version, full of real data, with the new one installed over it. This guide covers which upgrade paths to choose, what data to plant, 30 checks with values, and how to run the update on Android and iPhone.

What app update testing covers

An update replaces the app's code and leaves everything else on the phone where it was. Testing an update means checking the join between the two.

Replaced by the updateStays on the phone and must still work
Screens, logic and bundled filesThe local database and saved files
The version numberThe login session, PIN and fingerprint setup
The permissions the app may ask forPermissions already granted or refused
Notification codeNotification settings, widgets and shortcuts
Default settingsSettings the user chose, such as language

Regression testing asks whether the new build works. App update testing asks whether it works for someone who already had the old one. An app can fail the second question after passing the first, and users say so in public. In our India App Quality Report, 15 of the 317 reviews that describe a malfunction say the problem began after an update, and 6 of those 15 are about banking apps.

Why a clean install hides update bugs

A new build on an empty phone creates its storage in the newest format. An updated phone still holds the old format, and the new code has to convert it. That conversion runs once, on the user's phone, at the first launch after the update.

Android's documentation for Room, Google's database library, sets out what can go wrong. Its page on migrating a Room database says that when an update changes the database structure, the data already on the device has to be preserved, and that needs a migration for each change. If Room finds no migration path from the installed version, it throws an error. For the user that usually means a crash at every launch. Developers can avoid the crash by switching on a destructive fallback, and the page warns that this permanently deletes all the data in the tables.

So one missing migration has two possible outcomes: an app that will not open, or an app that opens empty. Sunil got the second. A developer had added a GSTIN field to the customer table, raised the database version from 7 to 8, and left a destructive fallback switched on from the app's first year. On a clean phone, 4.3.0 created version 8 and passed every test.

Practical rule: an update test starts on the old version. If the tester's first step is "install the new build", it is a fresh-install test, whatever the test plan calls it.

Choose the upgrade paths before the test cases

Users do not move one release at a time. Someone who ignored three updates goes from the version they have straight to the newest, and the releases in between are never installed on their phone. Each old version still in use is a separate upgrade path.

Take the billing app in the week before 4.3.0. Its analytics show active users by version.

Installed versionShare of active usersDatabase versionTest this path?
4.2.158%7Yes, on every phone
4.1.021%7Yes, on one phone
3.9.211%5Yes. Three database changes in one jump
3.4.06%3Yes. The oldest version still allowed
Below 3.4.04%1 or 2No. Check that the forced update screen stops it

Four paths cover 96% of users. The choice follows three rules:

  1. The previous release, because most users are on it.
  2. The oldest version you still allow, because it is the longest jump.
  3. Any version from before a change to the database, the login storage or the file layout.

Paths multiply with phones, so do not run every path on every phone. Run the 4.2.1 path on each phone and each longer jump on one.

Old builds have to come from somewhere. Keep the release file of every version you still allow, with the version number in its name, where testers can reach it.

Plant data in the old version first

An empty account survives any update. Before updating, use the old version long enough to create the kinds of data real users have.

Plant in the old versionExampleWhy
A logged-in account with app lock98765 43210, PIN set, fingerprint onSessions and locks sit in storage that updates touch
Many records212 customers, ₹3,86,450 outstandingCounts and totals are easy to compare
One record you know by heartShree Ganesh Traders, ₹18,450 due, last bill 31 MarchA spot check needs a known answer
Text in another scriptश्री गणेश ट्रेडर्स as a customer nameA conversion can damage non-English text
Work not yet synced3 bills made in flight modeData that only the phone holds is most at risk
A half-finished actionA draft bill for ₹2,349.50Drafts are often stored apart from records
Changed settingsHindi, dark theme, offer alerts offDefaults should not come back
Files2 invoice PDFs and a shop logoFiles are orphaned when folders move

Write the numbers down before updating: 212 customers, ₹3,86,450, 3 unsynced bills. After the update you compare against the note, not against memory.

Data and login: eight checks after every update

Run these on every upgrade path you chose.

#CheckPass
1Open the app after the updateHome screen, still logged in. No welcome screen and no OTP
2Count the records212 customers and ₹3,86,450, as noted
3Open the record you knowShree Ganesh Traders, ₹18,450 due, last bill 31 March
4Read the Hindi name and a long addressश्री गणेश ट्रेडर्स is intact and nothing is cut short
5Go online and let the 3 offline bills syncThe server shows 3 new bills, not 0 and not 6
6Open the draft₹2,349.50 is still there, or the app says plainly that it could not keep it. Nothing was sent by itself
7Open settingsHindi, dark theme and offer alerts off
8Open both PDFs and the logoAll three open

Check 5 has two wrong answers. Zero means the unsynced bills were lost in the conversion. Six means the new version forgot that they were already queued and queued them again.

Update prompts: optional, forced and in-app

Many apps ask for the update themselves. On Android this is often done with Google Play's in-app updates, and the developer guide describes two flows. In a flexible update the user agrees, the download runs in the background while they carry on, and the app then has to ask them to restart, because Google Play will not restart it for them. In an immediate update Google Play shows its own update screen on top of the app, and the update continues even if the user closes the app. In both flows the user can decline, and the app decides what happens next.

The same guide lets developers time the prompt by how many days the update has been available and by a priority from 0 to 5 set for each release. Ask which rule your app uses, because it decides when a tester will see each prompt.

A forced update is different. It is your own screen, shown when the installed version is below a minimum set on your server.

#CheckPass
9Accept a flexible update and keep using the appIt downloads in the background, then the app offers a restart. After the restart you are still logged in
10Decline a flexible updateThe app carries on. The prompt does not return at every launch
11Let a flexible download finish, leave the app and return laterThe restart offer appears again
12Accept an immediate update, then press Home during the downloadThe update continues. Reopening shows progress or the new version
13On the forced update screen, press Back, swipe away, then reopen from a notificationThe screen cannot be skipped and shows no account data
14Raise the minimum version while the new release has reached only 10% of usersNobody is sent to a store page that has no update to offer
15Open the app on the newest versionNo prompt of any kind
16Read every prompt in Hindi at the largest font sizeFull text, in the chosen language, with the button in reach

Check 14 is the one that locks out paying users. The server says "update now", the store has not offered the update to that phone yet, and the Update button leads nowhere.

Interrupted updates and the first launch

The conversion runs at the first launch after an update. On a ledger of 212 customers it takes a moment. On 5,000 it can take long enough for a user to give up and swipe the app away.

#CheckPass
17Fill the phone until under 100 MB is free, then updateThe update fails with a clear message, the old version still works, and the update installs once space is freed
18Switch to flight mode for 30 seconds halfway through the downloadThe download pauses, then resumes or offers a retry
19Force-close the app during the first launchThe next launch finishes the job. Still 212 customers and no crash loop
20Make the first launch offlineLocal data opens. If the app needs the network, it says so
21Let the update install while a UPI payment is pendingOne final status after the update and no second payment
22Lock the phone during the first launchThe conversion completes, or resumes on unlock

Check 19 catches the half-finished conversion. A job that is stopped midway must either finish or start again cleanly. A ledger with 140 of its 212 customers is worse than either, because it looks almost right.

For check 18, our list of 12 network conditions has more ways to break a download. Check 21 follows the pending rules in how to test a UPI payment flow.

App update testing on real phones

Some of what an update can disturb is not inside the app. It sits in the phone's own settings, and a new emulator has none of it. That is one reason emulators miss a class of bugs.

#CheckPass
23After the update, do not open the app. Trigger an order alertIt arrives, once
24On a Xiaomi, Vivo or Oppo phone with autostart allowed before the update, close the app and send an alertAutostart is still allowed and the alert arrives
25Tap the home screen widget and an app shortcutBoth open the right screen with current data
26Unlock with a fingerprintIt works, or the app asks for the PIN and says why. It never opens with neither
27Open the camera and location featuresEarlier choices stand. Nothing new is asked at launch without a reason
28Make the first launch on a phone with 3 or 4 GB of RAM and 5,000 recordsIt completes with progress on screen and no "app isn't responding" box
29Update on the oldest Android and iOS versions you supportIt installs and the main screens load
30Repeat checks 1 to 8 on the longest jump, 3.4.0 to 4.3.0All eight pass

Check 23 matters because many users will not open the app for days after it updates, and they still expect its alerts. Our guide on how to test push notifications covers the rest. Check 24 depends on the phone maker's software, which our guide to Android background restrictions compares. Check 27 builds on runtime permissions testing.

How to run the update on Android and iPhone

Uninstalling the old version and installing the new one is not an update. The uninstall removes the app's data from the phone, so there is nothing left to convert.

On Android, the quickest route is to install the new release file over the old one. Both must carry the same signing key, or the phone refuses. To test the in-app prompt as well, Google's guide to testing in-app updates gives the steps for internal app sharing. Install the old build from its sharing link. Upload a build with a higher version code. Open the new link on the phone, but do not install from the store page it shows. Then open the app, which should now see an update. The page adds conditions: the Google account must have downloaded the app from Google Play at least once, and Google Play only updates an app to a higher version code.

On iPhone, use TestFlight. Apple's TestFlight page says that if the App Store version is already installed, the beta replaces it. So install the released version from the App Store, plant the data, then install the beta over it. Two details matter. A build can be tested for up to 90 days from the day it was uploaded, so older builds expire. And TestFlight can install new builds automatically, so switch that off on the test phone, or the update may happen before the data is planted. TestFlight's Previous Builds list also lets a tester install an earlier build that has not expired, which gives a second starting point.

StepAndroidiPhone
Get the old versionA saved release file, or an internal app sharing linkThe App Store, or an earlier TestFlight build
Install the new one over itInstall the newer file, or follow the sharing linkInstall the TestFlight build
Watch out forA different signing key or a lower version codeAutomatic updates and the 90-day limit

Rollouts slow an update down but cannot undo it

Both stores can release an update to a few users first. Neither takes it back from a phone that has it.

QuestionGoogle Play staged rolloutApp Store phased release
Who gets itA percentage you choose, picked at randomUsers with automatic updates on, picked at random
PaceRises only when you raise it1%, 2%, 5%, 10%, 20%, 50% and 100% over 7 days
Are users toldNoNo
StoppingHalting stops further users. Those who have the update keep itPausing, for up to 30 days in total

The Play column comes from Google's help page on staged rollouts, which recommends a new release with a fixed build when something is wrong. The App Store column comes from Apple's page on phased releases, which adds that anyone can update by hand from the App Store at any time.

If 2,00,000 iPhone users have automatic updates on, day one's 1% is 2,000 phones. A rollout limits the count. It does not return anyone's ledger.

Practical rule: treat every update as one-way. Whatever the new version converts, the next version must be able to read, because the old version is not coming back.

The app update testing checklist on one page

GroupChecksNeedsEvery release?
Data and login1 to 8One phone per upgrade path, with planted dataYes
Update prompts9 to 16A developer to set versions and the rollout9, 13 and 14
Interruptions and first launch17 to 22A phone that is nearly full and a UPI account17 and 19
Real phones23 to 30Testers' own Redmi, Realme, Galaxy, Vivo and iPhone handsets23, 24 and 30

Allow one tester about a day and a half for the first pass, most of it spent planting data on four upgrade paths. Later releases need about half a day.

A bug found here needs four extra lines in the report: the version updated from, the version updated to, how the update was installed, and what data was planted. "Customers missing after update" cannot be reproduced. "4.1.0 to 4.3.0 over a saved release file, 212 customers before, 0 after" can. Our guide to steps to reproduce a bug has the rest of the format.

Frequently asked questions

What is app update testing? It is testing that starts on an old version of an app, with data in it, installs the new version over it, and checks that data, login, settings and device features still work.

How is it different from regression testing? Regression testing checks the new build's features, usually on a clean install. Update testing checks the move from an old build to the new one. An app can pass the first and fail the second.

How many old versions should we test from? At least the previous release, the oldest version you still allow, and any version from before a storage change. In the example above that is four paths covering 96% of users.

Can app update testing be automated? Partly. Developers can test database migrations in code, and Android's Room documentation describes a test that runs every migration in turn. Prompts, interrupted downloads and phone settings need a person with a real phone.

Are there ready-made test cases? Yes. Our free app update test cases page has 36 ready-to-run cases, 11 of them marked as needing a real phone.


An update is tested when a user on any version you still allow can install the new one and find their data, their login and their settings where they left them. If you lack the phones or the day and a half, 99tests runs your test cases on tester-owned Redmi, Realme, Galaxy, Vivo and iPhone handsets, on Jio, Airtel and Vi. A reviewer verifies every finding before it reaches you, and each one carries steps, expected and actual results, environment details and a screenshot or recording. Packages are fixed-price, and you can send your own cases to 99tests.