InterviewSolution
Saved Bookmarks
| 1. |
Code that accesses a database has tests that effectively _________ the database.(a) Ignore(b) Delete(c) Call(d) DefineThe question was asked during an interview.The origin of the question is Refactoring with Mock Objects in division Testing with Mock Objects of JUnit |
|
Answer» RIGHT choice is (c) Call Easiest explanation: As a PART of integration unit TESTING, the TEST has to call the database to test its COMPONENTS. |
|