1.

________ can be useful in adding additional functionality which applies to every test within a test class.(a) Copy(b) Rules(c) Exceptions(d) BoundariesThe question was asked in an internship interview.I need to ask this question from Testing Exception Handling in chapter Mastering JUnit of JUnit

Answer»

Correct CHOICE is (b) Rules

The EXPLANATION: JUnit rules INTERCEPT the test methods and give ADDITIONAL FUNCTIONALITY.



Discussion

No Comment Found

Related InterviewSolutions