16 package org.openkilda.atdd.staging.cucumber;
18 import cucumber.api.junit.Cucumber;
19 import org.junit.runners.model.InitializationError;
20 import org.springframework.test.context.ActiveProfiles;
22 import java.io.IOException;
32 ActiveProfiles ap = (ActiveProfiles) clazz.getAnnotation(ActiveProfiles.class);
34 System.setProperty(
"spring.profiles.active", String.join(
",", ap.value()));
CucumberWithSpringProfile(Class clazz)