Why Do You Use JUnit to Test Your Code?

Q

Why Do You Use JUnit to Test Your Code?

✍: FYICenter.com QA Team

A

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.

2008-01-03, 5121👍, 0💬