BDD framework for Java
Behavior Driven Development (BDD) is a refinement for Test Driven Development (TDD). It is not a radical change from TDD, in fact the actual process of doing BDD is exactly same as in TDD. The vocabulary is just different. While it is possible to practice BDD with any unit testing tool, it is believed that this change should be reflected in used tools too.
JDave is a BDD framework for Java. It is inspired by rspec and integrates JMock 2 as mocking framework and Hamcrest as matching library. It uses JUnit adapter to launch JDave specifications. This way it is possible to have IDE, build tool and coverage tool support from day one.
News:- Jul 6 2008, version 1.1-rc1 released - Improved Scala support (better JMock syntax, integrated ScalaCheck)
- Improved jdave-wicket-selenium module
- issues...
- Feb 18 2008, version 1.0 released
- Nov 20 2007, version 1.0-rc1 released - Containment support for java.util.Map
- Mocking support for final classes/methods, see also unfinalizing in jdave
- Mocking support to create dummies
- Wicket components can be selected using selectFirst(...).which(...).from(...) (or selectAll)
- JMock 2.4, Hamcrest 1.1 and JUnit 4.4
- 'must' can be used instead of 'should' or 'does'
- Wicket Selenium module for Wicket development
- Scala as less verbose syntax, see StackSpec.scala
- Better IDE support for String comparisons
- issues...
- Jul 02 2007, version 0.9.0 released - Specification grouping
- Wicket module for Wicket development
- Hamcrest matchers can be used to set expectations for elements of collections
- Maven reporting plugin
- upgraded to JMock 2.1
- maven groupId is changed to be org.jdave
- opened mailing list
- issues...