ISTQB-CTFL-FOUNDATION practice question 13 of 35

Which of the following tools is most likely to detect defects in functions or methods in source code?

Full set: 403 questions
Answer options
A: configuration management tool
B: unit test framework tool Correct answer
C: test design tool
D: monitoring tool
Correct Answer:
B. unit test framework tool
Explanation

A unit test framework tool is specifically designed to support component testing (also known as unit testing). These tools allow developers and testers to write, execute, and manage tests for individual software components, such as functions or methods, in isolation. By running tests at this granular level, they are the most effective tool listed for finding defects directly within the source code of these components.

Why Incorrect

A: A configuration management tool manages versions of software artifacts (e.g., source code, documents); it does not execute code to find defects. C: A test design tool helps in generating test cases from requirements or models but does not execute the code itself. D: A monitoring tool observes a system's behavior and performance, typically in a production or staging environment, not for testing individual code functions.

References

- ISTQB® Certified Tester Foundation Level Syllabus V4.0 (2023), Section 4.2.2, Test Execution and Logging Tools: "Unit test framework tools are used by developers to test code at the component level."

- ISTQB® Certified Tester Foundation Level Syllabus V4.0 (2023), Section 1.1.1, What is Testing?: Component testing focuses on "components in isolation," which directly corresponds to testing functions or methods.

Scroll to Top