We encourage users to start from writing your scenarios in a
non-Java format, e.g. in simple text: and to give a name that is expressive, i.e. status_alert_can_be_activated.scenario
.
This scenario will map to a Java file StatusAlertCanBeActivated.java
in same package.
The contract for a user-defined Java scenario is the following:
JBehave was designed to be highly configurable but to provide default behaviour for the most useful configuration. Configuration is the main interface for configuring all the components of a scenario. JBehave provides two implementations:
Steps can also be configured to a high degree via the StepsConfiguration. Among the elements that can be configured are: