This post originated from an RSS feed registered with Python Buzz
by Ian Bicking.
Original Post: Java BDD
Feed Title: Ian Bicking
Feed URL: http://www.ianbicking.org/feeds/atom.xml
Feed Description: Thoughts on Python and Programming.
I notice there’s another Behavior Driven Development framework for Java called Instinct (via). I have commented on BDD before.
Here’s an example test:
import static com.googlecode.instinct.expect.Expect.expect;
import com.googlecode.instinct.marker.annotate.BeforeSpecification;
import com.googlecode.instinct.marker.annotate.Context;
import com.googlecode.instinct.marker.annotate.Specification;
public final class AnEmptyStack {
private Stack<Object> stack;
@BeforeSpecification
void setUp() {
[...]