BDD Concept – Arguments to Sell the BDD Concept to a Reluctant Team

agilebddproductivityunit testing

I am a bit of a vocal proponent of the Behaviour Driven Development methodology (aka BDD). I've been applying BDD for a couple of years now, and have adopted StoryQ as my framework of choice when developing DotNet applications. Even though I have been unit testing for many years, and had previously shifted to a test-first approach, I've found that I get much more value out of using a BDD framework, because my tests capture the intent of the requirements in relatively clear English within my code, and because my tests can execute multiple assertions without ending the test halfway through – meaning I can see which specific assertions pass/fail at a glance without debugging to prove it.

This has really been the tip of the iceberg for me, as I've also noticed that I am able to debug both test and implementation code in a more targeted manner, with the result that my productivity has grown significantly, and that I can more easily determine where a failure occurs if a problem happens to make it all the way to the integration build due to the output that makes its way into the build logs. Further, the StoryQ api has a lovely fluent syntax that is easy to learn and which can be applied in an extraordinary number of ways, requiring no external dependencies in order to use it.

So with all of these benefits, you would think it an easy to introduce the concept to the rest of the team. Unfortunately, the other team members are reluctant to even look at StoryQ to evaluate it properly (let alone entertain the idea of applying BDD), and have convinced each other to try and remove a number of StoryQ elements from our own core testing framework, even though they originally supported the use of StoryQ, and even though the code they wish to remove doesn't impact on any other part of our testing system. Doing so would end up increasing my workload significantly overall and really goes against the grain, as I am convinced through practical experience that it is a better way to work in a test-first manner in our particular working environment, and can only lead to greater improvements in the quality of our software, given I've found it easier to stick with test first using BDD. To further clarify, the majority of the unit tests we have tend to be quite brittle and difficult to maintain, a holdover from years of poorly applied testing where a reluctance to stick with a test-driven process has seen developers fall back on old habits and do all of their testing at the end of the project (these same people claim to be Agile!).

So the question really comes down to the following:

  1. What arguments can I use to really drive the point home that it would be better for this team to use StoryQ, or at the very least to adopt the BDD methodology?
  2. Can you point me to any anecdotal evidence that I can use to support my argument to adopt BDD as our standard method of choice?
  3. What counter arguments can you think of that could suggest that my wish to encourage the team to adopt BDD might be in error? Yes, I'm happy to be proven wrong provided the argument is a sound one.

NOTE: I am not advocating that we rewrite our tests in their entirety, but rather to simply start working in a different manner for all future testing work, and preferably in the manner in which we engage our customers.

And for those of you wishing to learn more about BDD, the following links may be useful:


For those interested in more details, we're a small team of 4 working on about 5 large projects. The "pilot trial" for BDD ran for about 2 months initially, with another approximately 4 month period following. Team accepted that I should continue to work this way and were to do their own trials. I've been BDD-ing for about 2 years now since the trial ended, while the others have become very good at ducking the issue. Rather than forcing a "confrontation" over the issue, I'm looking for ways to gently persuade the team to get off their collective behinds and make the time to do their bit.

Best Answer

What arguments can I use to really drive the point home that it would be better to use StoryQ, or at the very least apply the BDD methodology?

"The customer wants it."

IMO you want to sell BDD to your customers/domain experts at least as much as to the development team.

BDD is a collaborative outside-in process where multiple stakeholders are involved. Benefits of BDD are not just for developers to automatically infer their test code from acceptance tests, they also lie in the creative cooperation that takes place between technical and business people to produce valuable, well-defined specifications of the system's intended behavior.

Giving customers/business analysts access to an interface where they can run each executable specification, control their status and see the progression in their implementation is generally much appreciated as well.

There's a presentation by Dan North on how you can sell BDD to the business : http://skillsmatter.com/podcast/java-jee/how-to-sell-bdd-to-the-business

Related Topic