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 (将#修改为@)