1.

The Suite object is a _____ that executes all of the @Test annotated methods in the test class.(a) Result(b) FolderConfigurationTest(c) FileConfigurationTest(d) RunnerThe question was posed to me during an interview.This intriguing question originated from Composing Tests with a Suite in division Exploring Core JUnit of JUnit

Answer»

The CORRECT answer is (d) Runner

To EXPLAIN I would SAY: Suite is under org.junit.RUNNERS.Suite, Suite objects are Runners.



Discussion

No Comment Found

Related InterviewSolutions