So I'm trying to make my junit test into an executable so I can execute it with a .bat file. Does anybody know how to do this?
The way I've been trying to use is turning it into an executable .jar file. If there is a better way let me know.
How do I generate a main method for this script so I can export it as an executable .jar?
import com.thoughtworks.selenium.*;
import org.junit.After;
import org.junit.Before;
import org.junit.Test;
import static org.junit.Assert.*;
import java.util.regex.Pattern;
public class Hello extends SeleneseTestCase {
private Selenium selenium;
@Before
public void setUp() throws Exception {
selenium = new DefaultSelenium("localhost", 4444, "*firefox C:\\Program Files (x86)\\Mozilla Firefox\\firefox.exe",
----------------------------
Please feel free to add me on skyep - ScytheMarketing
I'm willing to make a donation to anybody willing to help me.
The way I've been trying to use is turning it into an executable .jar file. If there is a better way let me know.
How do I generate a main method for this script so I can export it as an executable .jar?
import com.thoughtworks.selenium.*;
import org.junit.After;
import org.junit.Before;
import org.junit.Test;
import static org.junit.Assert.*;
import java.util.regex.Pattern;
public class Hello extends SeleneseTestCase {
private Selenium selenium;
@Before
public void setUp() throws Exception {
selenium = new DefaultSelenium("localhost", 4444, "*firefox C:\\Program Files (x86)\\Mozilla Firefox\\firefox.exe",
----------------------------
Please feel free to add me on skyep - ScytheMarketing
I'm willing to make a donation to anybody willing to help me.