#148 - Behavior-Driven Development (BDD) Essentials - Jan Molak & John Ferguson Smart
Tech Lead Journal11 Syys 2023

#148 - Behavior-Driven Development (BDD) Essentials - Jan Molak & John Ferguson Smart

“BDD is about helping you collaborate with the different parties involved in software delivery to understand what’s actually required of your system, why you need to deliver it, and then find the best possible way to automate your requirements."

John Smart and Jan Molak are the co-authors of “BDD in Action: Second Edition”. In this episode, we discussed in-depth behavior-driven development (BDD) and its essentials. Jan and John first began by introducing what BDD is, the benefits of using BDD, and the Gherkin language with its given-when-then syntax. They gave advice on how to introduce and apply BDD, especially for legacy software, and how to manage the BDD specifications effectively. Jan and John then shared several BDD techniques, such as feature mapping, example mapping, impact mapping; and went deep into the screenplay pattern and the Serenity projects they both create to implement screenplay pattern. Towards the end, Jan and John shared their insights on which testing layers we should apply BDD and some anti-patterns we should avoid.

Listen out for:

  • Career Journey - [00:04:49]
  • Challenges Before BDD - [00:11:30]
  • Behavior Driven Development (BDD) - [00:15:24]
  • Benefits of BDD - [00:22:33]
  • Gherkin - [00:27:39]
  • Introducing BDD - [00:32:24]
  • BDD for Legacy Software - [00:38:41]
  • Managing BDD Specifications - [00:43:15]
  • Screenplay Pattern - [00:47:09]
  • Serenity Project - [00:58:42]
  • Other BDD Techniques - [01:11:33]
  • Testing Layers to Apply BDD - [01:14:13]
  • BDD Anti-Patterns - [01:18:28]
  • 4 Tech Lead Wisdom - [01:23:01]

_____

Jan Molak’s Bio
Jan Molak is a consulting software engineer and trainer who specialises in enhancing team collaboration and optimising software development processes for global organisations. Jan is the author of the Serenity/JS acceptance testing framework, a contributor to the Screenplay Pattern, and a co-author of a renowned book “BDD in Action, Second Edition”.

John Ferguson Smart’s Bio
John Ferguson Smart is a specialist in BDD, automated testing, and software lifecycle development optimization. He is the founder of the Serenity Dojo, an online training platform for testers who want to become world-class Agile Test Automation Engineers, and the creator of the Serenity BDD test automation framework.

Follow Jan:

Follow John:

_____

Our Sponsors

Miro is your team's visual workspace to connect, collaborate, and create innovations together, from anywhere.
Sign up today at miro.com/podcast and get your first 3 Miro boards free forever.


Like this episode?

Show notes & transcript: techleadjournal.dev/episodes/148 Follow @techleadjournal on LinkedIn, Twitter, and Instagram. Buy me a coffee or become a patron.

Tämä jakso on lisätty Podme-palveluun avoimen RSS-syötteen kautta eikä se ole Podmen omaa tuotantoa. Siksi jakso saattaa sisältää mainontaa.

Jaksot(279)

Software Engineering Laws Every Developer Must Know in the AI Era - Milan Milanovic

Software Engineering Laws Every Developer Must Know in the AI Era - Milan Milanovic

Does moving faster with AI mean you get to skip the laws that governed every software project before it? Milan Milanovic argues the opposite, the old laws of software engineering now apply twice as ha...

10 Elo 1h 1min

Signals & Levers: Systems Thinking to Navigate Software Delivery Illusions - Elisabeth Hendrickson & Joel Tosi

Signals & Levers: Systems Thinking to Navigate Software Delivery Illusions - Elisabeth Hendrickson & Joel Tosi

(04:48) Brought to you by SpeechifyAITired of text-to-speech that sounds robotic or costs too much at scale? SpeechifyAI's new Simba 3.2 model ranks #1 on Artificial Analysis for realness, priced unde...

3 Elo 1h 17min

From Technical Debt to Triple Debt: The Hidden Cost of AI-Generated Code

From Technical Debt to Triple Debt: The Hidden Cost of AI-Generated Code

Is vibe coding quietly draining the thing that makes teams effective: their shared understanding? Margaret breaks down her new “triple debt” model, and why cognitive debt might be the one nobody’s tra...

27 Heinä 1h 10min

Ex-Gojek CTO: Why the Age of AI Rewards Builders as Judgment Becomes Expensive

Ex-Gojek CTO: Why the Age of AI Rewards Builders as Judgment Becomes Expensive

If expertise is becoming almost free, why is judgment becoming the most expensive skill in tech? Ajey Gore, former Gojek CTO, explains why the age of AI agents rewards builders over typists.In this ep...

13 Heinä 1h 22min

The AI Productivity Paradox: Why 10X Output Doesn't Mean 10X Business Outcome

The AI Productivity Paradox: Why 10X Output Doesn't Mean 10X Business Outcome

What if optimizing for AI output is actually slowing your company down? When code becomes nearly free to produce, the organizations still measuring productivity by output are solving the wrong problem...

29 Kesä 1h 5min

The Hidden Stories Sabotaging Your Culture Change

The Hidden Stories Sabotaging Your Culture Change

Why do 70% of change efforts fail — even when leadership is fully committed? The answer isn’t strategy or resources; it’s the hidden stories people unknowingly carry that silently block every initiati...

15 Kesä 1h 8min

Creator of Meta's Hack: Your AI Will Always Cheat — Here's How to Stop It

Creator of Meta's Hack: Your AI Will Always Cheat — Here's How to Stop It

What if your AI coding agent is quietly cheating on your tests — and how do you stop it? Julien Verlaguet, who built the type system Meta used to migrate tens of millions of PHP lines, is now building...

8 Kesä 1h 18min

Eric Ries: Why Good Tech Companies Go Bad, and How to Stop It

Eric Ries: Why Good Tech Companies Go Bad, and How to Stop It

Why do companies with the best intentions end up betraying their customers, employees, and mission? Eric Ries calls it “financial gravity” — an invisible force that pulls even the most principled comp...

1 Kesä 1h