Cucumber

BDD Toolbox: Outcome Questioning

BDD Toolbox is an ongoing series of posts in which I’ll give you tools to do Behavior Driven Development well. Today we’ll take a look at Outcome Questioning – a tool to help ensure all relevant details are captured in your scenarios.  I’ve talked in the past about Behavior Driven Development and how I believe …

BDD Toolbox: Outcome Questioning Read More »

The Fundamental Problem of Software: Translating Business Rules into Code

How Behavior-Driven Development (BDD) can help solve the fundamental problem of software.  Translating language – an example In true BDD fashion, let’s start with an example: Carlos is fluent in Spanish, but does not speak English. Mary is an English speaker who knows little to no Spanish. However, Carlos and Mary wish to communicate. What’s …

The Fundamental Problem of Software: Translating Business Rules into Code Read More »

BDD/Cucumber Basics: Make Your Business Rules Concrete; Leave Your Implementation Details Abstract

Choosing the right level of concrete vs. abstract will help you derive the most value from Cucumber and BDD. I recently attended an amazing Cucumber workshop. During the training Aslak Hellesoy, the inventor of Cucumber, used a simple exercise to encourage people to make their examples more concrete. He would ask for someone to name …

BDD/Cucumber Basics: Make Your Business Rules Concrete; Leave Your Implementation Details Abstract Read More »