Skip to content

Instantly share code, notes, and snippets.

@kodiyan
Created June 11, 2014 14:48
Show Gist options
  • Save kodiyan/849628d1a8c43127bf02 to your computer and use it in GitHub Desktop.
Save kodiyan/849628d1a8c43127bf02 to your computer and use it in GitHub Desktop.
How to Run Cucmber JVM Run File from another Jav aClass
import org.junit.runner.JUnitCore;
import org.junit.runner.Result;
public static void main(String[] args) {
JUnitCore junit = new JUnitCore();
Result result = junit.run(CucmberJVMRun.class);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment