...8import net.serenitybdd.cucumber.CucumberWithSerenity;9import net.serenitybdd.cucumber.CucumberWithSerenityRuntime;10import java.io.IOException;11import java.util.Arrays;12public class Main {13 public static void main(String[] argv) throws Throwable {14 byte exitstatus = run(argv, Thread.currentThread().getContextClassLoader());15 System.exit(exitstatus);16 }17 public static byte run(String[] argv, ClassLoader classLoader) throws IOException {18 RuntimeOptions runtimeOptions = new RuntimeOptions(Arrays.asList(argv));19 ResourceLoader resourceLoader = new MultiLoader(classLoader);20 ClassFinder classFinder = new ResourceLoaderClassFinder(resourceLoader, classLoader);21 CucumberWithSerenity.setRuntimeOptions(runtimeOptions);22 Runtime runtime = CucumberWithSerenityRuntime.using(resourceLoader, classLoader, classFinder, runtimeOptions);23 runtime.run();24 return runtime.exitStatus();25 }26}...