Certopolis

ISTQB Certified Tester Foundation Level

ISTQB CTFL test levels vs test types: the five levels

A test level is a group of test activities organized and managed together for software at one stage of development. ISTQB's CTFL v4.0 syllabus describes five: component, component integration, system, system integration and acceptance testing. A test type is a group of test activities aimed at specific quality characteristics, and most can be performed at every level.

What are the five test levels?

Component testing, also called unit testing, tests components in isolation. It often relies on a test harness or a unit test framework, and developers normally do it in their own development environments. Component integration testing, also called unit integration testing, tests the interfaces and interactions between components. It depends heavily on the integration strategy (top-down, bottom-up or big-bang).

System testing looks at the overall behaviour and capabilities of a whole system or product. It often covers end-to-end tasks tested functionally, and quality characteristics tested non-functionally. An independent test team may carry it out, and it is tied to the system's specifications. System integration testing checks the interfaces that connect the system under test to external services and to other systems. It needs test environments that are preferably similar to the operational environment.

Acceptance testing is about validation and about showing the system is ready for deployment, meaning that the system meets the user's business needs. Ideally the intended users perform it. Its main forms: user acceptance testing (UAT), operational, contractual and regulatory acceptance testing, and alpha and beta testing.

Levels are told apart by their test object, test objectives, test basis, typical defects and failures, and approach and responsibilities. In sequential SDLC models, a level's exit criteria often form part of the next level's entry criteria. Test levels may overlap in time.

What are the four test types?

Functional testing evaluates what the test object should do. Its main objective is to check that the functions are complete, correct and appropriate. Non-functional testing looks at how well the system behaves. The syllabus uses the ISO/IEC 25010 list of characteristics: performance efficiency, compatibility, usability (interaction capability), reliability, security, maintainability, portability (flexibility) and safety.

Black-box testing is specification-based. It derives tests from documentation that is not related to the internal structure, and checks behaviour against specifications. White-box testing is structure-based. It derives tests from the implementation or internal structure, for example the code, the architecture, or the flows of work and data, and aims to cover that structure to an acceptable level.

All four test types can be applied at all test levels, with a different focus at each. Non-functional testing can start early, for example in reviews or in component testing. Many non-functional tests reuse functional tests and check that a non-functional constraint holds while the function runs, such as finishing within a set time.

Where the exam catches people

  • Mixing up the two integration levels: interfaces between components of one system are component integration testing. Interfaces to other systems or external services are system integration testing.
  • Believing white-box testing belongs only to component testing: all four test types can be applied at every test level.
  • Believing non-functional testing must wait for system testing: it can start early, as part of reviews or component testing.
  • Calling a functional test that is rerun against a response-time limit functional testing: checking the time constraint makes it non-functional testing.
  • Believing acceptance testing mainly looks for defects against the specification: it focuses on validation and readiness for deployment, ideally with the intended users.

Written from these sources

Try 3 questions on this

Pick an answer to see why each option is right or wrong.

  1. A mobile banking app is made up of several components, including an accounts module and a payments module. The payments module also exchanges messages with an external card network. In the current tests, testers check only that the accounts module passes the correct balance to the payments module after each transfer. Which of the following test levels BEST matches the current tests? Select ONE option.

    Right. In the game that’s Renown for your Testing Throughout the Software Development Lifecycle building.

    Not that one: B is right. In the game your Testing Throughout the Software Development Lifecycle building would lose a little Renown, and this question would come back later.

    Show the full explanation and doc quotes

    System integration testing would apply if the tests targeted the connection between the app and another system or external service, such as the card network.

    Written from istqb.org/wp-content/uploads/2024/11/ISTQB_CTFL_Syllabus_v4.0.1.pdf

  2. A retailer's order system has passed system testing. The team now checks that orders reach a third-party courier's web service correctly and that stock updates arrive from the separate warehouse application, in an environment set up to mirror production. Which of the following test levels is being performed? Select ONE option.

    Right. In the game that’s Renown for your Testing Throughout the Software Development Lifecycle building.

    Not that one: C is right. In the game your Testing Throughout the Software Development Lifecycle building would lose a little Renown, and this question would come back later.

    Show the full explanation and doc quotes

    The syllabus adds that this level needs a test environment that is preferably similar to the operational one, which matches the production-like setup here.

    Written from istqb.org/wp-content/uploads/2024/11/ISTQB_CTFL_Syllabus_v4.0.1.pdf

  3. Testers rerun the existing order-entry functional tests while 2,000 simulated users are active, and check that every order is confirmed within two seconds. Which of the following quality characteristics is this test MOST likely targeting? Select ONE option.

    Right. In the game that’s Renown for your Testing Throughout the Software Development Lifecycle building.

    Not that one: D is right. In the game your Testing Throughout the Software Development Lifecycle building would lose a little Renown, and this question would come back later.

    Show the full explanation and doc quotes

    The syllabus notes that many non-functional tests are built from functional ones in exactly this way, such as checking a function completes within a specified time.

    Written from istqb.org/wp-content/uploads/2024/11/ISTQB_CTFL_Syllabus_v4.0.1.pdf

Ask for something