Hi,
I've created a Junit test case. This test case needs few other classes. Few
of those classes are in the same package that I've included in the jar file
and added under lib\junit. Now, I've few other classes that needs to be
added to. Where\how do I add them?
package mypackage;
import junit.framework.TestCase;
import com;
public class AB extends TestCase {
public GetCam id; //from the imported package
public PutCam pid;
public void setUp() throws Exception {
super.setUp();
//some stuff here
}
/* (non-Javadoc)
* @see junit.framework.TestCase#tearDown()
*/
public void tearDown() throws Exception {
super.tearDown();
System.out.println("teardown accessed ");
}
public void testURL() {
String url = pid.URL("XYZ.txt");
assertTrue(url.matches("www.llllmmmm.com"));
}
}
Also, XYZ.txt is created by one of the functions that is called in setUp, is
it supported where a class which is inside jar file is being created?
Couldn't find much support for Junit related information with Jmeter, so
thought I would ask the question here.
The test case works outside Jmeter.
--
-S