如何解决io.cucumber.junit.UndefinedStepException:步骤“为“abc”“”提供不同的组合是未定义的
io.cucumber.junit.UndefinedStepException: The step "Provide different combinations to "abc"""" is undefined. You can implement it using the snippet(s) below:
@When("Provide different combinations to {string}{string}")
public void provide_different_combinations_to(String string,String string2) {
// Write code here that turns the phrase above into concrete actions
throw new io.cucumber.java.PendingException();
}
上面是步骤定义文件和类文件,我收到错误无法继续获取未定义错误。第一个场景完全执行成功,但负面场景失败。 卡在执行中
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。