
Hi sir
How can we run JUnit or Run test case Using JUnit using command prompt or CMD? Is there any alternate way of running test cases?

Hi friend
You can run JUnit test case by running following command on CMD :
java org.junit.runner.JUnitCore <Your Test Class Name>
If all the test is successful, it will display an "OK" message.
If the tests don't pass, verify that junit.jar is in the CLASSPATH.

One thing i forgot to tell you that you can run Test cases using IDs such as Eclipse etc.
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.