Types of software testing: a field guide for app teams
Test types sorted three ways: by size (unit to end-to-end), by purpose (functional, performance, usability, security) and by who runs them (developers, testers, beta users).
Real Tester team · · 6 min read

Test types are confusing because they are named along different axes. "Unit test" describes size. "Performance test" describes purpose. "Beta test" describes who is doing it. A single test can be several of these at once. Sorting them along those three axes makes the list much shorter.
Axis 1: size and scope
Android's testing fundamentals describe this as degree of isolation. It is the axis behind the test pyramid.
Unit tests (small). Check a very small piece, such as a method or class, in isolation. Wikipedia: isolated source code tested to validate expected behaviour. Fast and cheap, so you can have thousands.
Integration tests (medium). Check that two or more units work together: your code and the database, or two services. Atlassian notes these are more expensive because more of the system must be running.
System or end-to-end tests (large). Run a whole screen or user flow in a full environment, the way a user would. Atlassian's warning: they are useful but costly and hard to maintain when automated, so keep a few key ones and lean on the lower levels for fast signal.
The test pyramid
Martin Fowler's write-up of the test pyramid (credited to Mike Cohn) gives two rules to remember:
- Write tests at different granularities.
- The higher level the test, the fewer of them you should have.
Fowler warns against the inverted shape, a "test ice-cream cone" with many slow UI tests on top, which is a nightmare to maintain and takes too long to run. He adds two practical rules: if a high-level test finds a bug and no lower-level test fails, write the lower-level test; and push tests as far down the pyramid as you can.
He also notes that UI tests do not have to sit at the top: with modern frameworks you can unit test UI components.
Axis 2: purpose
This is the axis most people mean by "types of testing". Wikipedia splits it into functional and non-functional.
Functional
Verifies what the app does: "can the user do this?"
- Functional testing. Checks a specific function against requirements. Atlassian's distinction from integration testing: an integration test may check you can query the database, while a functional test expects the specific value the requirements define.
- Smoke testing. A quick pass over the basic functions to decide whether deeper testing is worth running. Run it on each new build and after each deployment. See smoke testing vs sanity testing for a checklist.
- Sanity testing. Determines whether it is reasonable to proceed with further testing after a change.
- Regression testing. Re-runs earlier tests after a change to catch broken or returned behaviour. Typically the largest test effort in commercial development, according to Wikipedia.
- Acceptance testing. Formal check that the system satisfies business requirements. Variants include user acceptance, contractual, regulatory and operational acceptance testing.
Non-functional
Verifies how well the app does it.
- Performance testing. Responsiveness and stability under a workload. Sub-types: load (expected volume), stress (unexpected or rare workloads), volume (large data), endurance (long runs). Wikipedia notes there is little agreement on terms, and they are often used interchangeably.
- Compatibility testing. Checks the app against other software, OS versions and environments. Wikipedia's example: developers who only test on the latest OS ship something that fails on older versions users still run. On mobile, Android's guidance lists compatibility with every device and API level as a core test subject. See our guide to compatibility testing for how to pick which environments to cover.
- Usability testing. Is the interface easy to use and understand? Wikipedia says this cannot be automated: you need actual people, observed.
- Accessibility testing. Can people with disabilities use it? Common checks: colour contrast, font size, alternative text, and keyboard-only use.
- Security testing. Essential where confidential data is handled. Checks for intrusion paths and unsafe handling of data and permissions.
- Destructive testing. Tries to make the software fail with invalid or unexpected input to check robustness. Fuzzing is an example.
Web performance has concrete public thresholds. Google's Core Web Vitals recommend Largest Contentful Paint within 2.5 seconds, Interaction to Next Paint of 200 ms or less, and Cumulative Layout Shift of 0.1 or less, measured at the 75th percentile of page loads. They apply to web pages, including the pages that make up web apps.
Axis 3: who runs it, and how
Manual vs automated
Atlassian: manual testing is done in person, which is expensive and prone to human error; automated tests run a pre-written script, which is more robust and repeatable, but only as good as the script. Automation is a key part of CI/CD.
Exploratory vs scripted
Scripted tests follow a plan. Exploratory testing combines learning, test design and execution at once. Wikipedia credits Cem Kaner with the term in 1984. Ad hoc testing is its less structured relative; it finds important bugs quickly, but without notes it is hard to repeat.
Black-box, white-box, grey-box
- Black-box: tester knows what the software should do, not how. Techniques include equivalence partitioning and boundary value analysis.
- White-box: tester works from the code structure.
- Grey-box: tester uses some internal knowledge to design tests but runs them at the user level.
Alpha and beta
- Alpha testing: operational testing by potential users or an independent team at the developer's site; a form of internal acceptance testing.
- Beta testing: a limited audience outside the team uses a pre-release version and reports faults and feedback. It can be run in rounds, with updates between them.
Beta is where stores come in: Google Play's closed and open tracks and Apple's TestFlight are beta testing infrastructure. See the store testing post.
A quick selection table
| You want to know | Use |
|---|---|
| Does this function return the right thing? | Unit test |
| Do these two parts talk correctly? | Integration test |
| Does the main flow work on a real device? | End-to-end / smoke test |
| Did my change break old features? | Regression test |
| Does it work on old phones or other browsers? | Compatibility test |
| Is it slow under load or on weak hardware? | Performance test |
| Can a stranger figure it out? | Usability test with a human |
| Can everyone use it? | Accessibility test |
| Is the build worth testing further? | Smoke test |
| Is it ready for the public? | Beta test + acceptance |
Picking a minimum set
For a small app or extension, a defensible starting set:
- Unit tests on anything with rules.
- A smoke test per build.
- Regression checks on the main flows, automated where they are stable.
- Compatibility pass on the oldest and smallest environments you claim to support.
- Exploratory session by someone who did not build it.
- Beta or outside-tester round before release.
The last two are the ones automation cannot replace, which is why they tend to be where outside testers find the most.
Sources
- Wikipedia, Software testing
- Atlassian, The different types of software testing
- Android Developers, Fundamentals of testing Android apps
- Martin Fowler, The Practical Test Pyramid
- web.dev, Web Vitals


