nerdexam
ISTQB

ISTQB-CTFL · Question #103

What type of testing measures its effectiveness by tracking which lines of code were executed by the tests?

The correct answer is B. Structural testing. Structural testing is a type of testing that measures its effectiveness by tracking which lines of code were executed by the tests. Structural testing, also known as white-box testing or glass-box testing, is based on the internal structure, design, or implementation of the…

Test Techniques

Question

What type of testing measures its effectiveness by tracking which lines of code were executed by the tests?

Options

  • AAcceptance testing
  • BStructural testing
  • CIntegration testing
  • DExploratory testing

How the community answered

(50 responses)
  • A
    2% (1)
  • B
    88% (44)
  • C
    2% (1)
  • D
    8% (4)

Explanation

Structural testing is a type of testing that measures its effectiveness by tracking which lines of code were executed by the tests. Structural testing, also known as white-box testing or glass-box testing, is based on the internal structure, design, or implementation of the software. Structural testing aims to verify that the software meets the specified quality attributes, such as performance, security, reliability, or maintainability, by exercising the code paths, branches, statements, conditions, or data flows. Structural testing uses various coverage metrics, such as function coverage, line coverage, branch coverage, or statement coverage, to determine how much of the code has been tested and to identify any untested or unreachable parts of the code. Structural testing can be applied at any level of testing, such as unit testing, integration testing, system testing, or acceptance testing, but it is more commonly used at lower levels, where the testers have access to the source code.

Topics

#structural testing#code coverage#statement coverage#coverage criteria

Community Discussion

No community discussion yet for this question.

Full ISTQB-CTFL Practice