BDD Clarified: BDD ≠ “Given-When-Then” (Gherkin)

BDD with RSpec, no Gherkin, is much better

Zhimin Zhan
7 min readApr 19, 2022

--

Background image credit: Futurama S2E4

Non-Medium-Members: you can view this article free on Vocal Media.

This article is one of the “IT Terminology Clarified” series.

Cucumber is the first Gherkin BDD framework, and it gained popularity gradually. Cucumber is written in Ruby, naturally, its clones were created, such as SpecFlow and JBehave, in other languages. However, many people think Cucumber (and its clones) is equivalent to BDD, that is wrong!

RSpec is the first BDD framework

First of all, Cucumber (or Gherkin) is not the first BDD framework, developed in Ruby. In Ruby’s world, the RSpec BDD framework was released nearly two years earlier than Cucumber.

RSpec v1.0 was released on 2009–07–25.

Cucumber v1.0 was released on 2011–06–20.

--

--

Zhimin Zhan

Test automation & CT coach, author, speaker and award-winning software developer. Help teams succeed with Agile/DevOps by implementing real Continuous Testing.