Skip to content
← All CTFL glossary terms

Component testing

Testing of individual hardware or software components in isolation; also called unit or module testing.

Syllabus chapters: 2

Sources: ISTQB® Certified Tester Foundation Level syllabus 4.0.1 and the official ISTQB® Glossary. Glossary content © International Software Testing Qualifications Board; source: glossary.istqb.org.

Related terms

Component testing in a practice question

Question 1

A team has already tested two internal modules of the same application in isolation, and now tests the interfaces and interactions between them. Which test level is this?

  1. Component testing
  2. Component integration testing
  3. System testing
  4. System integration testing
Show answer
  • Component testingComponent testing focuses on components in isolation, which has already been completed here.
  • Correct answer: Component integration testingThe interfaces and interactions between components are component integration testing.
  • System testingSystem testing addresses the overall behavior and capabilities of an entire system or product.
  • System integration testingSystem integration testing concerns interfaces with other systems and external services.

Component integration testing focuses on testing the interfaces and interactions between components. Component testing focuses on components in isolation, which the team has already done; system testing addresses the overall behavior and capabilities of an entire system; and system integration testing concerns the interfaces between the system under test and other systems and external services, not two modules inside one application.

Syllabus section 2.2.1

Question 2

Match each test level (1–4) with its focus (A–D). 1. Component testing 2. Component integration testing 3. System integration testing 4. Acceptance testing A. Interfaces between the system under test and other systems or external services B. Validation and demonstration of readiness for deployment against users' business needs C. Components tested in isolation D. Interfaces and interactions between components Which option gives the correct mapping?

  1. 1→D, 2→C, 3→A, 4→B
  2. 1→C, 2→D, 3→A, 4→B
  3. 1→C, 2→A, 3→D, 4→B
  4. 1→C, 2→D, 3→B, 4→A
Show answer
  • 1→D, 2→C, 3→A, 4→BThis reverses component and component integration testing: isolation belongs to component testing, while interactions belong to component integration testing.
  • Correct answer: 1→C, 2→D, 3→A, 4→BEach level is paired with the focus assigned to it in the syllabus.
  • 1→C, 2→A, 3→D, 4→BThis reverses the two integration scopes: component interactions belong to component integration, while external-system interfaces belong to system integration.
  • 1→C, 2→D, 3→B, 4→AThis reverses system integration and acceptance testing: external interfaces belong to system integration, while business validation belongs to acceptance testing.

Component testing focuses on components in isolation; component integration testing focuses on interfaces and interactions between components; system integration testing focuses on interfaces with other systems and external services; and acceptance testing focuses on validation and readiness for deployment against users' business needs. Therefore the correct mapping is 1→C, 2→D, 3→A, 4→B.

Syllabus section 2.2.1

Original PrepBench practice material, not official exam questions or exam dumps. PrepBench is independent and is not affiliated with or endorsed by ISTQB®.