1.

What type of object is returned on completion of a test?(a) org.junit.runner.Result(b) org.junit.runner.Complete(c) org.junit.runner.Outcome(d) org.junit.runner.ObjectThe question was asked during an interview for a job.Origin of the question is JUnit Test Runners topic in chapter Exploring Core JUnit of JUnit

Answer» RIGHT option is (a) org.junit.runner.Result

Explanation: An org.junit.runner.Result OBJECT COLLECTS and SUMMARIZES information from running multiple tests.


Discussion

No Comment Found

Related InterviewSolutions