File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Design and the fly likes How to convince the value of Given/When/Then mantra... Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » Design
Bookmark "How to convince the value of Given/When/Then mantra..." Watch "How to convince the value of Given/When/Then mantra..." New topic

How to convince the value of Given/When/Then mantra...

atul khot
Ranch Hand

Joined: Jul 24, 2008
Posts: 64
Hi John,
Over a last few years - I have tried to convince
colleagues the value of specifying requirements the BDD way...

However, in my experience people don't sense the value at first glance - the precision it brings to the table etc...
it seems I am speaking gibberish...

This is one of the biggest bottlenecks I have experienced while trying to adopt the BDD way...

Any ideas how to approach this...

--cheerio atul
Burk Hufnagel
Ranch Hand

Joined: Oct 01, 2001
Posts: 814
I'm curious. Have you actually showed them an example so they can see what it looks like? In my experience working with developers, showing them working code is far more powerful than trying to explain the benefits to them.

I wrote some examples using the Spock framework and, even though it was in Groovy, the Java devs understood the intent and got what I was saying about BDD. Also, let them know how long it took to do the work so they can judge the value of the time spent. If you haven't tried it before, I'd recommend doing a couple of tests because the first one always takes longer - that way you can give them a more real-world expectation. "The first one took a couple of hours because I was having to look everything up; but the second one only took two minutes."

Hoping this helps,

SCJP, SCJD, SCEA 5 "Any sufficiently analyzed magic is indistinguishable from science!" Agatha Heterodyne (Girl Genius)
John Smart
Ranch Hand

Joined: Aug 06, 2013
Posts: 43
I agree with Burk - showing a good bit of sample code is more effective than wasting your breath on long speeches ;-)
I agree. Here's the link:
subject: How to convince the value of Given/When/Then mantra...
It's not a secret anymore!