1.

To run the file TestClass.class from the command line, we have to type what?(a) java TestClass(b) javac TestClass(c) java org.junit.runner.JUnitCore TestClass(d) org.junit.runner.JUnitCore TestClassI have been asked this question in class test.This interesting question is from JUnit Test Runners in chapter Exploring Core JUnit of JUnit

Answer» RIGHT choice is (c) JAVA org.junit.runner.JUnitCore TestClass

Explanation: The test CASES are EXECUTED using JUnitCore CLASS which is referenced by “org.junit.runner.JUnitCore”.


Discussion

No Comment Found

Related InterviewSolutions