This tutorial explains how to start a Behavior-Driven Development (BDD) approach from scratch with JBehave framework and Serenity reporting library.
JBehave is an open source framework for Behavior-Driven Development (BDD) in Java. BDD is an evolution of test-driven development (TDD) and acceptance-test driven design, and is intended to make these practices more accessible and intuitive to newcomers and experts alike. It shifts the vocabulary from being test-based to behavior-based, and positions itself as a design philosophy.
Serenity (previously known as ‘Thucydides’) is an open source library designed to make writing automated acceptance tests easier.