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, 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 2 answers
A . Integration
B . Black box
C . White box
D . Mocking

Answer: C,D

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments