While conducting a unit test, a developer would use a
A.
black-box test case
B.
driver or stub
C.
top-down or bottom-up design
D.
scenario-based test case
The Answer Is:
B
This question includes an explanation.
Explanation:
During unit testing, a developer often uses a driver or stub to isolate the unit being tested. A driver simulates a higher-level module that calls the unit under test, while a stub simulates a lower-level module or service called by the unit. These test aids allow the developer to test a module before all related modules are completed or integrated. Black-box test cases can be used at different levels, but they do not specifically describe the support tools commonly used during unit testing. Top-down and bottom-up describe integration strategies, not unit test aids. Scenario-based test cases are often used for user or system-level behavior. Therefore, driver or stub is the best answer.
================
CSQE PDF/Engine
Printable Format
Value of Money
100% Pass Assurance
Verified Answers
Researched by Industry Experts
Based on Real Exams Scenarios
100% Real Questions
Get 65% Discount on All Products,
Use Coupon: "ac4s65"