BDDフレームワークとしてJbehaveを使用しています。次のようなテキストシナリオから候補ステップメソッドスタブを自動生成する方法を探しています
Given there is a flight
And there is a customer
When the customer books the flight
Then the customer is shown on the manifest
このようにJavaに:
<@> Given("there is a flight")
<a@> Pending
public void thereIsAFlight() {
}
<@> Given("there is a customer") // note 'Given', even though story line is 'And'
<@> Pending
public void thereIsACustomer() {
}
<@> When("the customer books the flight")
<@> Pending
public void theCustomerBooksTheFlight() {
}
<@> Then("the customer is shown on the flight manifest")
<@> Pending
public void thenTheCustomerIsShownOnTheFlightManifest() {
}
JBehaveはそれを暗黙の機能として提供しますか、それとも人々はいくつかのIDEプラグインを使用しますか?ここで助けていただければ幸いです。