Discussion :: JUnit MCQs
- 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 TestClass
|
Answer : Option C
Explanation :
The test cases are executed using JUnitCore class which is referenced by "org.junit.runner.JUnitCore.
Be The First To Comment