içinde stext senaryolarından aday adımlı yöntem saplamaları oluşturmak Jbehave benim BDD framework olarak kullanıyorum. Ben otomatik bir yol arıyorum böyle Javaotomatik 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
gibi metin senaryolardan aday adım yöntemi taslakları oluşturmak:
<@> Given("there is a flight")
<[email protected]> 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() {
}
mu JBehave örtük bir işlevsellik olarak bunu sağlamak ya da insanlar bazı IDE kullanmak Eklenti ? Burada herhangi bir yardım için çok teşekkür ederim.
Bu özellik, cucumber-jvm için var. Herhangi bir altın standart bdd test motorunun parçası olması gereken bir özellik için destek eksikliği nedeniyle motorları değiştirmeyi düşünüyorum. – Ajax