1.

The ___________ parameter is used along with the @Test annotation to test for timeouts.(a) Expected(b) Timeout(c) NoLimit(d) TimeThe question was posed to me in an interview for internship.Query is from Timeout Testing topic in section Mastering JUnit of JUnit

Answer»

Correct answer is (b) Timeout

Easiest explanation: Timeout PARAMETER SPECIFIES the MAXIMUM time each TEST method can take.



Discussion

No Comment Found

Related InterviewSolutions