With the following steps you can add Serenity Library to your jBehave project
- Step 1: Edit the config file pom.xml
- Add two dependencies
- Serenity-Jbehave
- Serenity-Core
- Add a plugin
- Serenity-maven-plugin
- Add two dependencies
- Step2: Create a java class “AcceptanceTest”
- This class should extend SerenityStories
- Step3: Run the AcceptanceTest
- Step4: We get Java methods in pending
- Step5: Next Video we’ll map the StorySteps to the java methods
For more details see the following Tutorial:
This video is with subtitle