Kerry Buckley What’s the simplest thing that could possibly go wrong?

9 January 2007

“Given when then” in JUnit

Filed under: Agile,Java — Kerry Buckley @ 12:18 pm

AS I mentioned at the end of this post, I’ve been convinced by Dan North’s case for using the “given when then” pattern for specifying scenarios during behaviour- or test-driven development, and while I wait for JBehave to be released, I’ve been playing around trying to come up with a way of using the pattern to clarify intent in (Java) unit/acceptance tests.

(more…)

Powered by WordPress