1.

In logic unit test, the boundaries of a given test can be controlled by using __________(a) Objects(b) Mock objects(c) Controllers(d) ModulesThe question was posed to me in semester exam.The query is from Refactoring with Mock Objects topic in chapter Testing with Mock Objects of JUnit

Answer»

The CORRECT option is (b) MOCK objects

For explanation: Mock objects HELP PERFORM specific tests by narrowing down to a specific TASK.



Discussion

No Comment Found

Related InterviewSolutions