Tutorials

JBehave provides tutorials as examples of black-box integration-testing. Tutorials live in a jbehave-tutorial repo and in general show all components of JBehave in action, including the JBehave Web components that build on JBehave Core to provide tools to test web application.

Etsy.com

The Etsy tutorials use Etsy.com as a live web application to test. As such, it requires a live network connection to run. The tutorial use the JBehave Selenium module to drive the web interaction via the WebDriver API.

There are two modules for running stories that verify behaviour found in Etsy.com:

  • etsy-stories-groovy-pico: the steps are written in Groovy and the steps classes are composed using Pico.
  • etsy-stories-java-spring: the steps are written in Java and the steps classes are composed using Spring