Types of software testing, by what each answers

The types of software testing sorted by the question each answers, from unit to security testing, with the five levels of testing and what each one needs.

A smoked glass cabinet of six square compartments, with one small orange sphere resting in a single compartment

Types of software testing are easiest to choose when they are sorted by the question each one answers. The ISTQB syllabus names four test types and five test levels, and the other names, from smoke to load testing, each ask one narrower question: does it work, does it hold, did a change break it, can people use it?

What are the types of software testing?

The ISTQB Foundation Level syllabus (v4.0.1, 2024) addresses four test types, functional testing, non-functional testing, black-box testing and white-box testing, and says that all four “can be applied to all test levels”. Source: ISTQB Foundation Level syllabus, section 2.2.2.

The same section opens with “A lot of test types exist”. The names a team meets in practice are narrower than the four: each one fixes a question, and often a level and a kind of tool as well. The table sorts the testing types this site’s glossary defines by the question each one answers. The “usually run at” column is this page’s reading of where each type earns its keep, and every type can appear elsewhere.

The questionTypes that answer itUsually run atFunctional or non-functional
Does each piece of code work on its own?Unit testing, white box testing, mutation testing (which tests the tests)ComponentEither
Do the parts work together?System integration testing, contract testing, database testingComponent integration, system integrationMostly functional
Does it do what the specification says?Functional testing, use case testing, end-to-end testingSystemFunctional
Does it do what the user needs?User acceptance testing, operational acceptance testing, alpha testing, beta testingAcceptanceFunctional, with non-functional checks
Is this build worth testing at all?Smoke testing, build verification test, sanity testingThe start of each test cycleFunctional
Did a change break something?Regression testing, retesting, visual regression testing, progression testing for the new behaviourEvery levelEither
How does it behave under load?Load testing, spike testing, endurance testing, scalability testingSystemNon-functional
Does it survive failure and bad input?Failover testing, fuzz testing, monkey testingSystem, componentNon-functional
Does it work everywhere its users are?Compatibility testing, cross-browser testing, cross-device testing, mobile app testing, installation testingSystemNon-functional
Does it work in each language and market?Internationalization testing, localization testingSystemEither
Can people use it?Usability testing, heuristic evaluation, UX auditSystemNon-functional
Can people with disabilities use it?Accessibility testingSystem, and in design reviewsNon-functional
Is it secure?Security testing, with fuzz testing as one techniqueSystem, and static analysis on the codeNon-functional
What has nobody thought of?Exploratory testing, ad hoc testing, error guessing, bug bash, crowd testingSystem, acceptanceEither
Is it wrong before it runs?Static testing: reviews and static analysisBefore any code runsEither

Three pairs cut across every row, and they describe how a test is designed or run. Black box vs white box testing is about where the tests come from, the specification or the code, and grey box testing sits between them. Manual vs automated testing is about who operates the software, a person or a script, and the test pyramid is the usual model for how many automated tests to keep at each level. Static testing examines work products without running them, and every other row is dynamic. A unit test is usually white box and automated, and a UAT session is black box and manual.

Functional vs non-functional testing splits the table in two, the last column. The agile testing quadrants are a second sort of the same types, by whether a test supports the team or critiques the product, and by whether it faces the business or the technology.

What are the levels of testing?

The current ISTQB syllabus describes five test levels: component testing (also called unit testing), component integration testing, system testing, system integration testing and acceptance testing. Source: ISTQB Foundation Level syllabus v4.0.1, section 2.2.1.

A level and a type answer different things. The syllabus calls test levels “groups of test activities that are organized and managed together”, each tied to a phase of development, and test types “groups of test activities related to specific quality characteristics”, most of which “can be performed at every test level”. A level says which object is under test. A type says which quality the test checks.

LevelThe question it answersTest objectUsually run by
Component (unit) testingDoes each component work in isolation?A function, class or module, often with a test harness or unit test frameworkDevelopers, in their development environment
Component integration testingDo the components work together?The interfaces and interactions between componentsDevelopers, usually automated in continuous integration
System testingDoes the whole system behave and perform as specified?The entire system or product, including end-to-end tasks and non-functional qualitiesOften an independent test team, against the system specification
System integration testingDoes the system work with the systems and services around it?The interfaces to other systems and external servicesTesters, in an environment close to the operational one
Acceptance testingIs the system ready to deploy for the user’s business needs?The system in a real or simulated operational environmentIdeally the intended users

The test objects, and who runs component, system and acceptance testing, follow section 2.2.1 of the current syllabus. The question column and the integration rows’ last cells are this page’s reading. For component integration testing, the 2018 edition says it “is generally automated” and, in iterative and incremental development, usually part of the continuous integration process.

The four stages of testing that many guides list (unit, integration, system, acceptance) come from earlier editions. The 2018 syllabus (v3.1.1) names four levels, component, integration, system and acceptance testing, and then describes “two different levels of integration testing” inside the integration section. The current edition promotes both to levels of their own. Contrasts kept on their own pages: system testing vs integration testing, end-to-end vs integration testing, and regression vs integration testing, where one is a level and the other a type.

In a sequential project the levels run in order, and the syllabus says “the exit criteria of one level are part of the entry criteria for the next level” (entry and exit criteria). In iterative work the levels overlap in time, sprint by sprint. The phases that each level’s testing passes through, from analysis to closure, are the subject of the software testing life cycle (STLC).

Which types check that the software does what it should?

The functional half of the map holds five questions, from the smallest piece of code to the whole product in the user’s hands.

Does each unit work, and do the parts fit?

Unit testing checks one function or class in isolation, usually with the neighbours replaced by test stubs or mocks (mock vs stub), and usually written by the developer next to the code. A unit test proves a part and says nothing about the promise the user was made, the line drawn in unit testing vs functional testing. Statement coverage and decision coverage measure how much of the code the unit tests reach, and mutation testing measures whether they would notice the code changing.

Integration testing moves to the seams. Each component can pass its own tests and the pair still fail: a field renamed on one side, a date in the wrong time zone, an API that returns an empty list where the caller expected an error. Contract testing checks each side of an API against a recorded agreement, so the two never have to run together. System integration testing runs the real systems together, and database testing checks the data layer under the screens.

Does it do what was specified, and what the user needs?

Functional testing checks behaviour against the requirement, through the interface, without regard to how the code is built. At system level it runs whole journeys, and an end-to-end test drives one through the deployed system, third-party services included. Test design techniques decide which inputs are worth trying: equivalence partitioning, boundary value analysis, decision table testing and state transition testing.

A system can meet its specification and still fail its users, which is why acceptance testing is a level of its own. The syllabus says it “focuses on validation and on demonstrating readiness for deployment” and names six forms, from user acceptance testing to alpha and beta testing. User acceptance testing asks whether the people who asked for the software can do their work with it, and ends in a UAT sign-off. The steps a business tester follows go in the UAT test script template. Running a session well is covered in UAT best practices end where the finding starts.

Is the build worth testing, and did a change break anything?

Two questions arrive with every build. Smoke testing asks whether the build is stable enough to test at all, with a quick pass over the main paths, and a build verification test is the same check run by the pipeline. Sanity testing asks whether one change did what it claimed. Both are shallow gates (smoke testing vs sanity testing).

The syllabus separates the two checks that follow a fix. Confirmation testing, which most teams call retesting, “confirms that an original defect has been successfully fixed”. Regression testing “confirms that no adverse consequences have been caused by a change”, and because the suite runs many times and grows with each release, the syllabus calls it “a strong candidate for automation”. Regression testing in software testing is the full guide, regression testing tools, sorted by job covers the tooling, and manual regression testing is a filing problem covers the checks a script cannot make. Visual regression testing compares screenshots against an approved baseline and catches the change in layout that a functional assertion passes.

What has nobody thought of?

Scripted tests check what somebody predicted. Exploratory testing designs, runs and learns from tests at the same time, aimed by a test charter and often run as session-based testing inside a time box. The syllabus calls it useful “when there are few or inadequate specifications or there is significant time pressure”. Ad hoc testing drops the charter and the notes, error guessing aims at the places defects usually live, and a bug bash puts people from across the team on one build for a time-boxed session. These types find the edge cases a test case never listed.

Which types check how well the software works?

The ISTQB syllabus (v4.0.1) gives the ISO/IEC 25010 classification of non-functional quality characteristics as eight: performance efficiency, compatibility, usability (also known as interaction capability), reliability, security, maintainability, portability (also known as flexibility) and safety. Source: ISTQB Foundation Level syllabus, section 2.2.2.

Non-functional testing is testing of “how well the system behaves”, in the syllabus’s words, and each characteristic gets its own family of types. Many non-functional tests reuse a functional test and add a constraint, such as finishing within a set time. The syllabus warns that “the late discovery of non-functional defects can pose a serious threat to the success of a project”, which is the case for starting some of them early, in reviews and component tests. The requirements these tests check against are non-functional requirements, and a test without an agreed threshold has nothing to fail.

How does it behave under load, and when parts fail?

Performance efficiency gets the load family, gathered under performance testing. Load testing runs the expected peak, spike testing a sudden surge, endurance testing a long steady run that exposes leaks, and scalability testing growth in steps to find where adding capacity stops paying off. Reliability gets failover testing, which switches a component off to see the standby take over, and fuzz and monkey testing, which feed input nobody designed.

For a website, part of performance is measured in the visitor’s browser. Google’s Core Web Vitals set “good” thresholds of a Largest Contentful Paint within 2.5 seconds, an Interaction to Next Paint of 200 milliseconds or less and a Cumulative Layout Shift of 0.1 or less, measured at the 75th percentile of page loads. Largest Contentful Paint and Total Blocking Time are defined in the glossary, and real user monitoring collects the field data.

Does it work everywhere, and in every market?

Compatibility testing checks the combinations of browser, operating system, device, screen size and network the product will meet. Cross-browser testing varies the rendering engine and cross-device testing varies the hardware, and the two find different bugs. Which combinations to test is the subject of which browser is the wrong cross-browser question, and the environment they run in of match a test environment where the bugs live. Internationalization testing checks that the product can be adapted to a locale without code changes, and localization testing checks one adapted version.

Can people use it, including people with disabilities?

Usability testing watches participants attempt set tasks and records where the design fails them. A heuristic evaluation reaches some of the same problems with no users, by judging the interface against recognised principles.

Accessibility testing checks whether the product works by keyboard alone, with a screen reader, with low vision and without fine motor control. The usual benchmark is the W3C’s WCAG 2.2, a Recommendation of 12 December 2024, in which “three levels of conformance are defined: A (lowest), AA, and AAA (highest)”. Automated checkers find part of the failures, and the rest need a person operating the page. The accessibility checklist holds the manual pass.

Is it secure?

Security testing looks for weaknesses an attacker could use, through static analysis of the code, scanning, and penetration testing by people. For web applications the reference is the OWASP Web Security Testing Guide, whose latest stable release is version 4.2. Security also reaches the test artefacts themselves: a recorded browser session can carry credentials, the risk set out in a HAR file is a credential dump.

Where does what a reviewer saw on the page decide the result?

Every type ends in a verdict, and the evidence behind the verdict differs by type. Some failures are read in a test runner or a dashboard. Others happen to a person looking at a page, and the report is only as good as what it carries from that page. The table is this page’s reading.

TypeWhere a failure shows upThe evidence that settles it
Unit, integration, contractA failing assertion in the buildThe test output and the commit
Load, spike, enduranceA response time or error rate past its thresholdThe load tool’s report and server metrics
Security scanningA finding in the scanner’s reportThe report, handled as restricted
Functional and end-to-end, run by a personA step that does something other than the expected resultThe page, the steps, and the console and network calls at the moment it failed
Exploratory, ad hoc, bug bashSomething the tester did not expectThe same, plus what the tester was doing just before
Cross-browser and cross-deviceA layout or behaviour that differs on one browser or screenBrowser, operating system, viewport and the screenshot
Visual and design QAAn element in the wrong place, size or colourThe screenshot with the element marked
Usability and manual accessibility checksA person who cannot complete the taskWhere they stopped, and what the page showed them
User acceptanceA business scenario the acceptor will not acceptThe page and the scenario, attached to the decision

The lower rows share a problem. The person who saw the failure can say what is wrong and seldom what the browser was doing, so the developer’s first job becomes reproducing it, the gap described in expected vs actual result and steps to reproduce.

That is the part of the map where Notarus applies. Notarus runs none of these tests and decides no verdict. Its widget captures the page the reporter is looking at, the reporter marks what is wrong, and console logs, network activity, page URL, viewport and browser travel with the report (evidence capture). Session replay adds the minutes before the screenshot. Capture settings, browser support and performance budgets decide what is available, and a report can still be sent without evidence.

Which types does a website team run first?

A small team building websites for clients can start from five, in this page’s judgement: functional checks of the key journeys, regression testing after every change, cross-browser and cross-device checks on the combinations its visitors use, an accessibility check against WCAG, and user acceptance with a named signer. Unit, integration, load and security testing grow with the code and the risk. A brochure site needs little of them, and a web app with accounts and payments needs all four. A QA strategy is where that choice is written down, and the QA checklist is where it is run.

Common questions

What are the types of software testing?

The ISTQB Foundation Level syllabus addresses four test types: functional, non-functional, black-box and white-box testing. Every other name in common use answers a narrower question, such as whether a change broke something (regression testing), how the system behaves under load (load testing) or whether people with disabilities can use it (accessibility testing).

What are the levels of testing?

The current ISTQB syllabus describes five test levels: component (unit) testing, component integration testing, system testing, system integration testing and acceptance testing. The 2018 edition listed four, component, integration, system and acceptance testing, and split integration testing into its component and system forms inside that section, which is where the familiar four stages of testing come from.

What is the difference between functional and non-functional testing?

Functional testing checks what a system does: a function gets an input, and the result is compared with the behaviour specified for it. Non-functional testing checks how well it does it, against qualities such as performance, compatibility, usability, reliability and security. The same feature can carry tests of both kinds, at any test level.

What is load testing?

Load testing runs a system under the volume of users or requests it is expected to handle and measures response times, error rate and resource use. Its aim is to confirm that normal peak demand is served acceptably. Spike, endurance and scalability testing push the load in other shapes: a sudden surge, a long steady run, or growth in steps.

Which types of testing does a website need?

A website built for a client needs functional checks of its key journeys, regression testing after every change, cross-browser and cross-device checks, an accessibility check against WCAG, and user acceptance with a named signer. Unit, integration, load and security testing scale with the code and the risk: a brochure site needs little, and a web app with accounts and payments needs all of them.

The Notarus team

The people who build Notarus. We write up the decisions behind the product when the reasoning is worth more than the changelog line.

Keep reading

Reports with the evidence attached.

Start free, one script tag.

<script src="…/widget.js" data-key="pb_pub_…">