1
私はいくつかの同様の問題があることを知っていますが、私はキュウリのファイルを機能するバインドの手順にいくつかの問題があります。これはキュウリと春の起動
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@SpringBootTest(classes = AppRunner.class)
@RunWith(Cucumber.class)
@interface CucumberSteps {
}
@RunWith(Cucumber.class)
public class CucumberTests {
}
注釈は、私はいつも "あなたは以下のスニペットで欠落しているステップを実行することができます:" 取得
@CucumberSteps
public class QueueSenderStepsDefs {
@Given("^I have item$")
public void iHaveItem() throws Throwable {
System.out.println("Asd");
}
@When("^I send it to jmsQueueSender$")
public void iSendItToJmsQueueSender() throws Throwable {
System.out.println("dff");
}
@Then("^item is on queue$")
public void itemIsOnQueue() throws Throwable {
System.out.println("sdasdsa");
}
}
ステップ私キュウリのランナーです。私はInteliJ IDEAを使用しており、設定でグルーを設定しています。しかし、まだ動作しません。手伝って頂けますか?