With the following steps you can create your first jBehave story
- Step 1: Open IntelliJ
- Step2: Create a new Project
- GroupId = Package name for example “myqualityassurance.de”
- ArtifactId = Project name for example “Calculator”
- Step3: Create a package “myqualityassurance.de” under src -> main -> java
- Step4: Create under the package “myqualityassurance.de” a java class “Operations”
- with four methods. See the following screenshot
- Step5: Create a package “stories” under src -> main -> resources
- Step6: Create under the package “stories” a jBehave story “calculator”
- with four scenarios. See the following screenshot
For more details see the following Tutorial:
This video is with subtitle