Prev Next

Testing / Junit Interview questions III

What are the different methods of exception handling in JUnit?

There are different ways of exception handling in JUnit.

  • Try catch idiom.
  • Using JUnit rule.
  • @Test annotation.
  • Using catch exception library.
  • Using customs annotation.

More Related questions...

Show more question and Answers...


Comments & Discussions