Why Do You Use JUnit to Test Your Code?
JUnit Questions and Answers
(Continued from previous question...)
Why Do You Use JUnit to Test Your Code?
This is a commonly asked question in a job interview. Your answer should have these points:
- I believe that writing more tests will make me more productive, not less productive.
- I believe that tests should be done as soon as possible at the code unit level.
- I believe that using JUnit makes unit testing easier and faster.
(Continued on next question...)
Other Interview Questions
|