Hi Derk,
if you write a story step that is not matched with any existing method,
JBehave will propose in the reports a pending method stub that you can
add to your Steps class (and adapt as required, e.g. adding parameters)
@Then("I am logged in")
@Pending
public void thenIAmLoggedIn() {
// PENDING
}
You need to manually remove the @Pending annotation to activate it.
It does not yet create a Java class with the pending steps but that
wouldn't be difficult and we can add it as an enhancement.
More about pending steps:
http://jbehave.org/reference/stable/pending-steps.html
Cheers
On 12/07/2012 11:29, Derk Crezee wrote:
Hi,
I'm new to JBehave and was wondering if it possible to generate
CandidateStep POJO's automatically from stories?
Regards,
Derk
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email