Software QA (13)
SQL Server (1)
How To Compile a JUnit Test Class
How To Compile a JUnit Test Class?
Compiling a JUnit test class is like compiling any other Java classes. The only thing you need watch out is that the JUnit JAR file must be included in the classpath. For example, to compile the test class HelloTest.java described previously, you should do this:
javac -cp junit-4.4.jar HelloTest.java dir HelloTest.* 453 HelloTest.class 183 HelloTest.java
The compilation is ok, if you see the HelloTest.class file.
2008-01-11, 6923👍, 0💬
What is the benefit of using an enum rather than a #define constant? The use of an enumeration const...
What is the output of printf("%d")? 1. When we write printf("%d",x); this means compiler will print ...
Can you explain why your project needed XML? Remember XML was meant to exchange data between two ent...
Are risk constant through out the project ? * Never say that risk is high through out the project. R...
What exactly happens when ASPX page is requested from Browser? Note: - Here the interviewer is expec...