top of page

Runnable jar file
1. Create new class with main
1.1 Add the code
package TestCase;
import org.junit.runner.JUnitCore;
import org.junit.runner.RunWith;
import org.junit.runners.Suite;
@RunWith(Suite.class)
public class testRunner
{
public static void main(String[] args)
{
JUnitCore.main("TestCase.Sanity");
}
}

2. Create a configuration


3. Click run
The test supposed to run.
3. Jur file



5. Run jar file
Click on the jar file and the test supposed to run.

6. Rum from bat file (windows only)
bottom of page