Categories:
.NET (357)
C (330)
C++ (183)
CSS (84)
DBA (2)
General (7)
HTML (4)
Java (574)
JavaScript (106)
JSP (66)
Oracle (114)
Perl (46)
Perl (1)
PHP (1)
PL/SQL (1)
RSS (51)
Software QA (13)
SQL Server (1)
Windows (1)
XHTML (173)
Other Resources:
How Do I Run JUnit Tests from Command Window
How Do I Run JUnit Tests from Command Window?
✍: FYICenter.com QA Team
To run JUnit tests from a command window, you need to check the following list:
1. Make sure that JDK is installed and the "java" command program is accessible through the PATH setting. Type "java -version" at the command prompt, you should see the JVM reports you back the version string.
2. Make sure that the CLASSPATH is defined as shown in the previous question.
3. Invoke the JUnit runner by entering the following command:
java org.junit.runner.JUnitCore <test class name>
2008-01-17, 7842👍, 0💬
Popular Posts:
What is the difference between const char* p and char const* p? In const char* p, the character poin...
How To Create an Add-to-Google-Reader Button on Your Website? - RSS FAQs - Adding Your Feeds to RSS ...
How do we create DCOM object in VB6? Using the CreateObject method you can create a DCOM object. You...
What Happens If the UPDATE Subquery Returns Multiple Rows? - Oracle DBA FAQ - Understanding SQL DML ...
What is V model in testing? V model map’s the type of test to the stage of development in a project....