Being BDD is HARD

Given – When – Then ….. Seems deceptively simple.  BDD was undoubtedly one of the most difficult approaches we had difficulty implementing.  For me it was key – it wasn’t about the syntax, BDD is about:

  1. Getting different disciplines talking and communicating using a common accessible language.  Pushing out the enemy – ambiguous statements and subjective interpretation.   Building the right thing, preventing wasted effort on development and testing of the wrong thing.
  2. Building quality and testing into the incoming stream of project requirements
  3. Embedding rigour and testing into the most important part of the process – Incoming Requirements

Note: If you have part of your team writing BDD, you are not BDD.  There is a difference between syntax and being ‘BDD’.  BDD Syntax will only give a few of the potential benefits.

Point 2 is key.  Quality built in. All too often, the product is developed and then handed over to another role who then had to ‘figure out how to test’.  Embedding BDD into the start of the lifecycle enables testing from the onset. Automated testing becomes a lot easier to achieve with this.

So why was this so hard ….? Getting universal buy in, BDD can not be done in isolation.  That meant having PO’s, Developers and Testers engaged and their competing requirements synchronised. As this was ‘something new’ this took months.

We had taken our project from Stage 1 Scrum (reactive) to Stage 4 (proactive).  This was the last big ticket identified for improvement.  Being at a fairly mature Scrum level had also counterintuitively created a number of problems:

  1. The teams had delivered against the roadmap and had hit every delivery date, there was no longer any external pressure or focus to improve delivery capability
  2. The bottlenecks had been moved to outside the immediate team. Stories could no longer be created ‘fast enough, or to a quality that was good enough to accept’. Stories had become the blocker.

The team had to some extent become a victim it’s own success. They were no longer a bottleneck.  Other external factors had become impediments.

BDD is also what I would term an non-obvious improvement.  There isn’t an immediate and obvious benefit.  It’s so obvious, it’s not obvious – until its taken away.  This is compounded when you have a process in place that is delivering to a good enough standard.

Habits, Ways of Working and Practices

This also really brought home to me ‘habits’.  People build habits, everything you do becomes a habit if it involves repetition.  Breaking an individual habit is hard. Breaking a teams habit is harder.  Particularly when it involved more than one discipline.   Moving teams to better practices involved much more time and effort than it would have done if started from scratch.

So to summarise why BDD was hard, it was because:

  1. You have to bring a team onboard, not indivuduals
  2. Its about the approach, not the syntax
  3. Breaking habits and current ways of working is tough

 

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s