nerdexam
ISTQB

ISTQB-CTFL · Question #35

Which of the following statements is LEAST likely to be describing component testing?

The correct answer is C. It mainly tests interfaces and interaction between components. Component testing (also known as unit testing or module testing) is a level of testing that focuses on verifying the functionality and quality of individual software components (such as modules, classes, functions, methods, etc.). Component testing mainly tests interfaces and…

Testing Throughout the Software Development Lifecycle

Question

Which of the following statements is LEAST likely to be describing component testing?

Options

  • AIt identifies defects in modules and classes.
  • BSimulators and stubs may be required.
  • CIt mainly tests interfaces and interaction between components.
  • DIt may be applied using a test-first approach.

How the community answered

(52 responses)
  • A
    6% (3)
  • B
    2% (1)
  • C
    85% (44)
  • D
    8% (4)

Explanation

Component testing (also known as unit testing or module testing) is a level of testing that focuses on verifying the functionality and quality of individual software components (such as modules, classes, functions, methods, etc.). Component testing mainly tests interfaces and interaction between components, as well as internal logic and data structures of the components. Component testing may be applied using a test-first approach (such as test-driven development or behavior-driven development), where tests are written before the code is implemented. Component testing does not identify defects in modules and classes, as this is a result of component testing, not an objective. Simulators and stubs may be required for component testing, as they can simulate or replace missing or incomplete components or external systems that are needed for testing.

Topics

#component testing#unit testing#test levels#stubs and drivers

Community Discussion

No community discussion yet for this question.

Full ISTQB-CTFL Practice