Estoy usando Jbehave como mi marco de BDD. Estoy buscando una manera de auto generar candidatos método de pasos talones de los escenarios de texto comoauto generar trozos de método de paso candidato de escenarios de texto en 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
a Java como esto:
<@> 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() {
}
¿El JBehave proporcionan como una funcionalidad implícita o personas que usan algún IDE enchufar ? Agradeceré cualquier ayuda aquí.
Esta característica existe para pepino-jvm. Estoy pensando en cambiar de motor debido a la falta de soporte para una característica que debería ser parte de cualquier motor de prueba bdd estándar. – Ajax