rest.RestRuntimeOptionsFactory Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of rest-cucumber Show documentation
Show all versions of rest-cucumber Show documentation
Rest Cucumber allows you to attach a rest client for retrieval of Cucumber feature files and posting of Cucumber test results
package rest;
import cucumber.runtime.RuntimeOptions;
import cucumber.runtime.RuntimeOptionsFactory;
public class RestRuntimeOptionsFactory {
private RuntimeOptionsFactory runtimeOptionsFactory;
private RuntimeOptions runtimeOptions;
public RestRuntimeOptionsFactory(Class> clazz) {
runtimeOptionsFactory = new RuntimeOptionsFactory(clazz);
}
public RestRuntimeOptions create() {
runtimeOptions = runtimeOptionsFactory.create();
return new RestRuntimeOptions(runtimeOptions);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy