Search in sources :

Example 1 with ApiModule

use of org.activityinfo.test.driver.ApiModule in project activityinfo by bedatadriven.

the class TestMain method queueApiTests.

private void queueApiTests() {
    ResourceLoader loader = new MultiLoader(getClass().getClassLoader());
    RuntimeOptions options = new RuntimeOptions(Arrays.asList("--tags", "@api", "classpath:org/activityinfo/test", "--glue", "org.activityinfo.test.steps.common", "--glue", "org.activityinfo.test.steps.json"));
    queueFeatures("api", loader, options, new ApiModule());
}
Also used : ResourceLoader(cucumber.runtime.io.ResourceLoader) ApiModule(org.activityinfo.test.driver.ApiModule) MultiLoader(cucumber.runtime.io.MultiLoader) RuntimeOptions(cucumber.runtime.RuntimeOptions)

Aggregations

RuntimeOptions (cucumber.runtime.RuntimeOptions)1 MultiLoader (cucumber.runtime.io.MultiLoader)1 ResourceLoader (cucumber.runtime.io.ResourceLoader)1 ApiModule (org.activityinfo.test.driver.ApiModule)1