JBehave is another famous framework for BDD/ATDD in Java. Similar to Cucumber-JVM, JBehave allows the writing of features as stories in the Gherkin language. Steps from the scenarios are later implemented in a step definition file.
In this recipe, we will explore using JBehave and Selenium WebDriver together for creating tests on a BMI calculator application.
You need to download and set up the JBehave Web extension, which is based on JBehave Core. It provides support for web-related access or functionality, including Selenium/WebDriver support.
The latest release of JBehave Web Distribution is available in JBehave's repository at Codehaus Nexus. You need to download the latest jbehave-web-distribution ...