InterviewSolution
Saved Bookmarks
| 1. |
In order to write testable code, ______________ should be reduced as much as possible.(a) Dependencies(b) Redundancies(c) Objects(d) ClassesI had been asked this question during a job interview.Origin of the question is JMock topic in division Testing with Mock Objects of JUnit |
|
Answer» RIGHT option is (a) Dependencies Easiest explanation: CLASSES with too many dependencies REQUIRE COMPLICATED tests. |
|