Exam4Training

Which two test approaches describe the requirement?

A test has a dependency on database. query. During the test, the dependency is replaced with an object called database with the method, Calculator query, that returns an array. The developer does not need to verify how many times the method has been called.

Which two test approaches describe the requirement? Choose 2 answers
A . White box
B. Stubbing
C. Black box
D. Substitution

Answer: A,D

Exit mobile version