Multiple choice technology testing

Test method must throw exceptions.

  1. True

  2. False

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

JUnit or TestNG test methods are not required to throw exceptions; they can return void and handle assertions internally. Thus, the statement is false.