I have created some JUnit tests (example see below) and I want to start them from Zephyr. A added the following information to the test case:
Automated: yes
Name: SearchPet
ID: TC_SearchPet
Path: java junit.textui.TestRunner swql.tec.junit.jps.SearchPet
The command (path) works on the command line. I have added all necessary classes and jars to the CLASSPATH. If I execute the test case with Zephyr, ZBOT will never complete. It reports the following information to the field "ZBot Real-time status":
34: SearchPet STATUS: Waiting for execution completion
Do you have an idea what happens?
John
- Code: Select all
package swql.tec.junit.jps;
import java.util.Random;
import junit.framework.JUnit4TestAdapter;
import junit.framework.TestCase;
import org.junit.Test;
public class SearchPet extends TestCase {
@Test
public void testSimpleSearch() {
assertTrue((new Random()).nextBoolean());
}
public static junit.framework.Test suite () {
return new JUnit4TestAdapter(SearchPet.class);
}
}