1.

Suite class is the JUnit 4 equivalent of what feature of JUnit 3.8.x?(a) static Test suite() method(b) Test suite() method(c) static void suite() method(d) void suite() methodThis question was addressed to me in unit test.My question comes from Composing Tests with a Suite topic in chapter Exploring Core JUnit of JUnit

Answer»

Right choice is (a) static TEST suite() METHOD

For explanation I would SAY: The suite is made accessible to a TestRunner tool with the static method suite() which RETURNS a Test suite.



Discussion

No Comment Found

Related InterviewSolutions