Building Production Software

Types of Software Testing: What Each One Is and Which You Need

A quote for software often includes a line for testing or QA. This guide explains what the different kinds of testing are, what each catches, how much of each a product needs, and what to ask a development team.

By Rahul D SarkerPublished November 17, 2026Updated November 17, 20266 min read

Part of our Building Production Software series. Start with Production-Grade Software: Engineering Practices That Prevent Technical Debt.

The Short Answer

What are the main types of software testing?

The main types are unit tests, which check one small piece of code; integration tests, which check that pieces work together; and end-to-end tests, which check a whole user journey. Around those sit regression, performance, security, accessibility and user acceptance testing. Most are automated and run on every change. A few, such as exploratory and acceptance testing, are done by people.

Testing answers one question: how do we know this change did not break something? Without automated tests, the only answer is to check everything by hand before every release, which is slow and is the first thing dropped under deadline.

Read the transcript

End-to-end tests are the closest thing to a real user clicking through your product. So you’d think the more of them, the better. In 2015, Google’s testing team published a post called: Just say no to more end-to-end tests. They are slow, costly to maintain, and they fail for reasons that have nothing to do with a real bug. So which tests does a product actually need? There are three main kinds. Unit tests check one small piece of code. Integration tests check that pieces work together. End-to-end tests check a whole user journey. Shape them like a pyramid. Many fast tests at the base. A few broad ones at the top. For a first product, that means this. Unit tests for the rules that cost money. A test for every endpoint. Five to ten journeys, end to end. And a new test for every bug you fix. Don’t chase a coverage number. Test the things that would hurt if they broke. The full guide is free at loomstrat.com.

Functional Tests: Does It Do the Right Thing?

Functional test types
TypeWhat it checksSpeedExample
UnitOne function or component in isolationMillisecondsThe VAT calculation returns the right amount for each rate
IntegrationSeveral parts together, including the database or an APISecondsCreating an order saves the right rows and reduces stock
ContractThat a service and its consumer agree on the shape of dataSecondsThe mobile app and the API agree on the order format
End-to-endA full user journey through the real interfaceTens of secondsA user signs up, adds a card and completes a purchase in a browser
SmokeA few critical paths, straight after a releaseA minute or twoThe home page loads and sign-in works in production
RegressionThat existing features still work after a changeVariesThe whole automated suite, run on every change

Regression testing is not a separate technique. It is the job the automated suite does: every time a bug is fixed, a test is added so that the same bug cannot return unnoticed.

The Test Pyramid

The test pyramid is the usual guide to how many of each kind to write: many fast unit tests at the base, fewer integration tests in the middle, and a small number of end-to-end tests at the top.

The reasoning is practical. End-to-end tests are closest to what a user does, and they are also slow, expensive to maintain and prone to failing for reasons unrelated to a real bug. Google’s testing team made the case in a widely read post, Just Say No to More End-to-End Tests: a suite built mainly on them gives slow feedback and failures that are hard to trace. Keep end-to-end tests for the journeys that earn money or would embarrass you if they broke.

For web applications, many teams now lean towards integration tests as the largest group, because they exercise real behaviour without the fragility of a browser. The exact shape matters less than the principle: most tests fast and reliable, a few slow and broad.

Non-Functional Tests: Does It Do It Well?

Non-functional test types
TypeQuestionWhen you need it
Load and performanceDoes it stay fast with many users?Before a launch, a campaign or a large customer goes live
SecurityCan it be misused or broken into?Automated dependency and code scanning always; a penetration test before handling sensitive data or selling to enterprises
AccessibilityCan people with disabilities use it?Always for public-facing products; automated checks plus manual keyboard and screen-reader testing against WCAG
CompatibilityDoes it work across browsers and devices?Always for consumer products; test the browsers your users have
UsabilityCan real users complete the task?Before and after launch, with five or so people per round
Disaster recoveryCan you restore from backup?At least once before launch and periodically after

Automated accessibility tools catch only part of the problem. The standard to test against is WCAG 2.2; our guide to web accessibility requirements in the UK explains who must meet it.

Where People Still Test

  • Exploratory testing. A tester uses the product with no script, looking for what the automated tests did not think of.
  • User acceptance testing (UAT). The client or real users confirm the feature does what the business needed. This is your job as the buyer, and it cannot be delegated to the developers.
  • Visual and content review. Does it look right and read correctly?

Manual testing complements automation. It should find new kinds of problem, not repeat the same checks before every release.

A Sensible Plan for a First Product

  1. 1

    Type checking and linting on every change

    The cheapest tests there are. They catch a whole class of errors before the code runs.

  2. 2

    Unit tests for the rules

    Pricing, permissions, calculations, date handling: anything where a wrong answer costs money or trust.

  3. 3

    Integration tests for each API endpoint

    With a real test database, covering the success case and the main failures.

  4. 4

    Five to ten end-to-end tests

    Sign-up, sign-in, payment and the one or two journeys the product exists for. A tool such as Playwright runs them in real browsers.

  5. 5

    A test for every fixed bug

    So that it stays fixed.

  6. 6

    Run everything in the pipeline

    No change merges if a test fails.

  7. 7

    Acceptance testing each sprint

    You try each finished feature against its acceptance criteria.

  8. 8

    A security and accessibility pass before launch

    Automated scans plus a manual review.

Playwright is a common choice for end-to-end tests. The pipeline that runs the suite is covered in our guide to CI/CD pipelines.

What About Test Coverage?

Coverage is the percentage of code that runs during the tests. It is a useful warning when low and a poor target when chased. A team told to reach 90 per cent will write tests that execute code without checking anything. Ask a better question: are the important behaviours tested, and when a bug reached users, was a test added?

What to Ask a Development Team

  • Which kinds of automated test do you write, and are they included in the price?
  • Do the tests run automatically on every change, and can a failing test block a release?
  • Can I see the test results for my project?
  • Who does acceptance testing, and what are the criteria?
  • What happens when a bug is found after launch, and for how long is fixing it covered?

A team that answers “we test it ourselves before we send it to you” is describing manual checking only. More questions of this kind are in questions to ask a software development company.

Frequently Asked Questions

What is the difference between unit and integration testing?

A unit test checks one small piece of code on its own. An integration test checks that several pieces, such as code and a database, work correctly together.

What is regression testing?

Re-running existing tests after a change to confirm nothing that used to work has broken. In practice it is the automated test suite running on every change.

What is UAT?

User acceptance testing: the client or end users check that the software meets the business need before it is accepted as finished.

Is manual testing still needed?

Yes, for exploratory testing, usability and acceptance. Repetitive checks should be automated.

How much test coverage is enough?

There is no universal number. Critical rules and journeys should be thoroughly tested; chasing a high percentage across all code produces weak tests.

What is the difference between QA and testing?

Testing finds defects in what was built. Quality assurance is the wider set of practices, including reviews and process, that prevent defects being introduced.

Have a build brief already forming in your head?

Loomstrat Studio scopes, builds, and hands over production software in 3–6 weeks - fixed price, 100% repository ownership.

  • Reply within 24 hours
  • Fixed price before we start
  • Zero technical debt guarantee