cucumber.runtime.DuplicateStepDefinitionException Maven / Gradle / Ivy
package cucumber.runtime;
public class DuplicateStepDefinitionException extends CucumberException {
public DuplicateStepDefinitionException(StepDefinition a, StepDefinition b) {
super(createMessage(a, b));
}
private static String createMessage(StepDefinition a, StepDefinition b) {
return String.format("Duplicate step definitions in %s and %s", a.getLocation(), b.getLocation());
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy