1.

What is a test runner?(a) Used to execute the test file(b) Defines the test file(c) Used to write test cases(d) Used to define annotationsThe question was posed to me in quiz.Question is taken from Exploring Core JUnit in division Exploring Core JUnit of JUnit

Answer»

The correct option is (a) USED to EXECUTE the test file

Best explanation: Test runner is used for EXECUTING the test cases USING the runClasses() method of JUnitCore class of JUnit to run the test CASE.



Discussion

No Comment Found

Related InterviewSolutions