PrepAway - Latest Free Exam Questions & Answers

A test has a dependency on database.query.

A test has a dependency on database.query. During the test, the dependency is replaced with an object called database with the method, query, that returns an array. The developer needs to verify how many times the method was called and the arguments used each time.

Which two test approaches describe the requirement? (Choose two.)

A. Integration

B. White box

C. Mocking

D. Black box


Leave a Reply