smaple.tr
Mobile

Mobile App Testing: What to Test, on Which Devices, With What Tools

Mehmet Kurtipek
November 21, 2025
14 min read
Mobile
Mobile app testing
Test automation
iOS
Android

Mobile app testing means checking that an iOS or Android app works on the phones, OS versions and network conditions your users actually have, before every release and after it. In practice it has four layers: fast unit tests on a developer's machine, UI tests on emulators and simulators for every change, a pass on a handful of real devices with the release build, and crash monitoring once the app is in the stores. The bugs that hurt most only show up on phones: a denied permission, an app killed in the background, a weak connection, an old device.

Why mobile needs its own test plan

On a phone, the operating system decides when your app runs. iOS and Android suspend apps, kill them when memory runs low and restart them when the user comes back. The user decides which permissions the app gets and can take them back from Settings at any time. Code that assumes it keeps running, or that a permission granted once stays granted, works on the developer's phone and fails in the field.

Android devices also vary a lot. Screen size, memory, the manufacturer's battery savers and the OS version all change from phone to phone. In September 2026, StatCounter counted 37.6% of Android web traffic worldwide on Android 16, while about 14% still came from Android 11 or 12. iOS is narrower: iOS 27 runs on every iPhone back to the iPhone 11 and the second-generation iPhone SE.

And fixes are slow to reach users. A web bug disappears with the next deploy. A mobile bug stays until the fixed build passes store review and people install the update, and some of them never do. That is why more of the testing has to happen before the release, and why the release itself should be gradual.

The test layers, and how much of each

Google's Android docs and Flutter's docs describe the same shape: many small, fast tests and a few big, slow ones. The most concrete version we know is Google's Android testing strategy page. Unit and component tests run locally on every commit. Feature tests run on emulators before a change is merged, app-level tests run after the merge on emulators plus one phone and one foldable, and the release candidate goes through eight different phones, one foldable and one tablet, using the minified release build.

Google built that setup for a large team. A small team can shrink it and keep the shape:

  1. Unit tests for logic: price calculations, date handling, validation, sync conflict rules. They run on the developer's machine in seconds. On Android that means JUnit, with Robolectric when the code touches Android classes; on iOS, Swift Testing, which Apple suggests for new unit tests since Xcode 16; in React Native, Jest; in Flutter, flutter test.
  2. Component tests for a single screen or widget: render it with fake data and check what it shows while loading, when empty and on error. Compose UI tests, Flutter widget tests and React Native Testing Library all do this without starting the whole app.
  3. End-to-end flows on an emulator or simulator: sign-in, the main purchase or booking flow, and anything that loses data when it breaks. Keep the list short: each flow is slow, and any UI change can break it.
  4. A real-device pass with the release build before each store submission, partly automated and partly by hand.
  5. Monitoring in production: a crash reporter such as Sentry or Firebase Crashlytics from the very first test build, plus the stores' own dashboards.

The release build matters more than people expect. On Android it is usually shrunk and obfuscated by R8, and code that relies on reflection (some JSON parsers, for example) can break only there. Signing, production API keys and push credentials also differ from the debug build. Run the final pass on exactly the file you will upload.

Picking tools for your stack

Your app

Unit and component tests

End-to-end flows

Native Android (Kotlin)

JUnit, Robolectric, Compose UI tests

Espresso or Compose tests on a device, UI Automator for system dialogs and notifications

Native iOS (Swift)

Swift Testing, XCTest for performance tests

XCUITest (XCTest UI tests)

React Native or Expo

Jest, React Native Testing Library

Maestro or Detox

Flutter

flutter test for unit and widget tests

The integration_test package, or Maestro

Any app, driven from outside

Not covered

Appium

On iOS, Apple's XCTest documentation says to keep user interface tests and performance tests on XCTest, so Swift Testing is for unit tests.

For a cross-platform app, start end-to-end testing with Maestro. Flows are YAML files, the same commands work for React Native, Flutter and native apps, and Maestro waits for the screen and retries on its own, so you rarely need the fixed sleep() calls that make UI tests flaky. Expo's CI service, EAS Workflows, has a ready-made Maestro job that runs flows on an Android emulator or an iOS simulator. Know the limits before you commit: Maestro's README says physical iOS devices are not supported yet, so iOS flows run on simulators, and its airplane-mode command works only on Android.

Detox is the grey-box option for React Native. It hooks into the app, monitors its asynchronous work and waits for that work before each step. Officially it supports React Native 0.77 to 0.84 with the New Architecture, and like Maestro it doesn't run on physical iPhones yet.

Appium 3 drives the app from outside through each platform's own automation layer (UiAutomator2 on Android, XCUITest on iOS), and you can write the tests in Java, Python, JavaScript and other languages. Pick it when you need physical iPhones in a device farm, or when your QA team already writes Selenium-style tests. The price is more moving parts: a Node.js server (version 20.19 or later for Appium 3), drivers installed separately, and slower runs, since every command passes through that server.

This Maestro flow automates two of the checks listed further down: a launch with the app's data cleared and every permission denied, then a trip to the background and back.

appId: com.example.shop
---
- launchApp:
    clearState: true
    permissions:
      all: deny
- tapOn:
    id: "search-input"
- inputText: "running shoes"
- pressKey: enter
- tapOn:
    id: "result-0"
- assertVisible:
    id: "product-detail"
- pressKey: home
- launchApp:
    stopApp: false
- assertVisible:
    id: "product-detail"

Run it with maestro test flows/search.yaml. One catch if your content isn't in English: on Android, Maestro's inputText can't type Unicode characters, so a test search for "café" or "Größe" needs a plain-ASCII term there, and the accented input has to be checked on the iOS simulator or by hand.

On Android you can go one step further and imitate the system killing the app while it sits in the background. Press Home, then run:

adb shell am kill com.example.shop

Reopen the app from the launcher. If the screen comes back empty, or a half-filled form is gone, that state lived only in memory.

Emulators, real devices and device farms

Emulators and simulators handle logic, layout and most flows, and they are fast and cheap to run in parallel on CI. They are weak at anything that depends on hardware: the camera, Bluetooth, NFC, real performance and battery use, and the battery savers some Android manufacturers add on top of Google's Android.

Which real devices? Once you have users, your analytics answers that: the models and OS versions with the most sessions. Before launch, a shelf of five or six phones covers most of the risk:

  • the oldest iPhone your minimum iOS version supports, which for iOS 27 is an iPhone 11 or a second-generation iPhone SE (the SE's small screen also catches layout bugs)
  • a recent iPhone on the current iOS
  • a cheap Android phone with little memory, where background kills and slow lists show up first
  • a mid-range Samsung, since One UI adds its own battery and background settings
  • a phone on the oldest Android version you support
  • a tablet or a foldable, only if you claim to support them

Rent devices when you need more models than you can buy, or physical iPhones in CI. AWS Device Farm publishes its prices: $0.17 per device minute on the metered plan, or $250 a month per device slot on the unmetered one (AWS Device Farm pricing). A 15-minute suite on six devices every working night (22 nights) adds up to 1,980 device minutes, about $337 a month metered. The flat rate only pays off when a single slot is busy for more than about 1,470 minutes, roughly 24.5 hours, a month. BrowserStack, Sauce Labs and others sell monthly plans priced by the number of parallel sessions, so compare them with the same device-minute arithmetic. Keep real customer data out of rented devices and use test accounts.

If your CI runs device tests on Firebase Test Lab, plan a move. Google has deprecated it and will shut it down on 30 September 2027, and it points users to the Developer Device Platform on Google Cloud. Meanwhile, Google Play's pre-launch report installs the builds you upload to Play Console on test devices, crawls each one for a few minutes and reports crashes, performance and accessibility problems without any setup.

Checks that catch mobile-only bugs

Most of these take a few minutes by hand, and several can be automated as shown above. Run them on every release candidate.

  1. Deny every permission on first launch, then grant it later from Settings and return to the app. Also revoke one while the app is in the background. On Android that ends the app's process, and the app has to restore itself cleanly.
  2. Leave the app halfway through a form, kill the process with the adb command above on Android, and come back.
  3. Test weak and missing networks: Network Link Conditioner in a test iPhone's Developer settings, and the emulator's cellular settings on Android. Switch on airplane mode in the middle of a request. Look for spinners that never stop, and for the same order going through twice when the user taps again.
  4. Interrupt the flow: an incoming call, a notification, a jump to the messages app to copy a one-time code, a bank's 3-D Secure page, a screen rotation.
  5. Update from the previous version. Install the version that is in the store today, sign in and create some data, then install the new build over it. A fresh install never runs the database migration or reads an old saved session, and either one can crash an app that passed every other test.
  6. Try the largest text size, display zoom, dark mode and a locale that breaks assumptions. Turkish is the classic case. The uppercase of i is İ, so on a phone set to Turkish, Java's "title".toUpperCase() returns TİTLE. The decimal separator is a comma, so String.format("%.2f", 12.5) returns 12,50. Either one can break a key lookup or an API request; pass Locale.ROOT to anything a machine will read. If you support Arabic, check the right-to-left layout too.
  7. Open deep links and tap notifications while the app isn't running at all.
  8. Run the automated accessibility checks (Espresso's AccessibilityChecks.enable(), Compose's enableAccessibilityChecks(), XCUITest's performAccessibilityAudit()), then go through the main flow once with TalkBack and once with VoiceOver.

Beta testing and staged release

On iOS, TestFlight takes up to 100 internal testers from your App Store Connect team and up to 10,000 external testers once the first build passes beta review, and each build expires after 90 days. On Android, Google Play's internal testing track takes up to 100 testers, and builds there may skip the standard review, so it is the quickest way to get a build onto phones. Closed testing tracks cover wider groups. If you publish from a personal developer account created after 13 November 2023, you need a closed test with at least 12 testers opted in for 14 days in a row before you can apply for production access. Our iOS and Android guides cover the store accounts and review rules in more detail.

A shared codebase doesn't give you a shared release. Each platform has its own build, its own testing track and its own review, on its own schedule. The Expo and React Native app we built for a client, a property-search platform in Finland, is a current example: the iOS version passed App Store review in October 2026, and the Android version is still on its way.

Release in stages. Apple's phased release reaches 1% of users with automatic updates on day one and everyone on day seven, and you can pause it for up to 30 days in total. Google Play's staged rollout lets you choose the percentage yourself and halt it when something breaks.

Decide the stop rule before you start. Google publishes the lines it watches in Android vitals: a user-perceived crash rate above 1.09% or an ANR (app not responding) rate above 0.47% across all devices, or either one above 8% on a single phone model, and Play may reduce the app's visibility and show a warning on its listing. Treat those numbers as a ceiling and aim far below them. A workable rule for a small team: pause the rollout when the new version's crash-free users rate falls below the previous version's at the same stage, and find out why before you resume.

Where to start on a small team

With a new app and no tests yet, this order covers the most risk for the least effort:

  1. Add crash reporting to the very first test build.
  2. Write unit tests for the code that handles money, dates and sync.
  3. Automate three to five end-to-end flows for the paths that earn money or lose data, and run them on an emulator for every pull request. Our GitHub Actions guide covers the CI side; remember that iOS simulators need macOS runners.
  4. Get five or six phones as described above and run the checklist on each release candidate.
  5. Send a build to TestFlight and Play internal testing every sprint, and release with a staged rollout and a stop rule agreed in advance.

If you need a team to build and test an app, our mobile app development page explains how we work.

Frequently asked questions

Do I need a Mac to test an iOS app?

For the iOS Simulator and XCUITest, yes: Xcode runs only on macOS. You can rent the Mac instead of buying one, since GitHub Actions offers macOS runners and Expo's EAS runs iOS builds and simulator test jobs on its own Macs. Testers don't need one at all, because a TestFlight build installs straight onto an iPhone.

Can I test push notifications on a simulator or emulator?

Mostly. According to Apple's Xcode 14 release notes, the iOS Simulator receives real remote notifications from the APNs sandbox when it runs on macOS 13 or later on a Mac with Apple silicon or a T2 chip, and xcrun simctl push delivers a local payload file for quick checks. On Android, an emulator image with Google Play services receives Firebase Cloud Messaging pushes. Check delivery on real phones before release anyway, because some manufacturers' battery savers delay notifications for apps they have put to sleep.

Should mobile testing be manual or automated?

Both. Automate what you repeat on every change, such as logic and the main flows. Keep people for exploratory testing, visual checks and the hardware-dependent cases in the checklist, which take longer to automate than to do by hand.

How much does mobile app testing cost?

The frameworks are open source and emulators cost nothing beyond CI time, so most of the cost is engineering time: writing the tests, and keeping the end-to-end flows working as the UI changes. On top of that come a few real phones and, if you need them, device-farm minutes, which AWS sells at $0.17 each.

Related Articles

March 28, 2026

Mobile App Development Services: What's Included, Step by Step

What a mobile app development service should cover, from the first brief to App Store review and the yearly updates after launch, plus the questions that separate vendors.

Read More: Mobile App Development Services: What's Included, Step by Step
March 26, 2026

Mobile App Development Cost: What Drives the Price, With Real Numbers

An app's price is months of work times what a month costs. Here is what adds months, what the app costs after launch, and our own figures from Turkey.

Read More: Mobile App Development Cost: What Drives the Price, With Real Numbers
February 26, 2026

Android App Development in 2026: Stack, Architecture and Play Rules

How to choose between native Kotlin and cross-platform, what targeting API 36 breaks, Google Play's rules for a first release, and what an Android app costs in time and money.

Read More: Android App Development in 2026: Stack, Architecture and Play Rules