Håkan Råberg

JDave for BDD style testing

We often talk about how a test class should represent a certain set up rather than the entire behavior of the unit under test. In real life, creating a new physical class requires some effort in most IDEs, which when avoided can lead to bloated tests.

I just had a look at JDave, a Java BDD framework which is inspired by RSpec. It looks promising.

Inner classes are good.