Introduction

JBehave is a framework for Behaviour-Driven Development

Behaviour-driven development (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 behaviour-based, and positions itself as a design philosophy.

You can find out more about behaviour-driven development on the BDD wiki, or in the article Introducing BDD.

Releases

The JBehave team is delighted to announce the release of JBehave 1.0.1!

Please try it out and send us feedback.

Features include:

  • Behaviour runner – equivalent to JUnit
  • Story runner – runs executable scenarios / acceptance criteria
  • Story printer – outputs stories and scenarios in human-readable form
  • Minimock framework – a lightweight mocking framework based on JMock
  • Classmock framework – allows minimock to mock concrete classes
  • A Swing harness – minimal and fast
  • Ant tasks – run behaviours, run stories and print stories using filesets
  • Maven integration – provides same functionality as Ant task using Maven
  • Eclipse and IDEA plugin – runs behaviours in your favourite IDE

Documentation will follow soon; in the meantime we suggest that you use the Hellbound examples in the source to guide you.

Getting Started

News

View the project news blog.