Beauty in Code 2019, 6 of 6 — Dan North: "BDD Is Not About Testing"

Beauty in Code 2019, 6 of 6 — Dan North: "BDD Is Not About Testing"

Beauty in Code 2019 was a single-track full day IT-conference organized by Living IT, featuring six amazing speakers from three continents. It was hosted at the Malmö Live conference center on March 2, 2019. Session 6 of 6 by Dan North (@tastapod) "BDD Is Not About Testing" BDD started as a way to teach TDD to programmers who kept getting hung up on the idea they were writing tests. Fast-forward a decade or so and it seems BDD scenario automation tools have invaded the world of acceptance testing like Japanese knotweed. All around I see teams harming themselves writing awkward, verbose tests using slow, cumbersome tools like Cucumber and SpecFlow, and acting as though BDD is some kind of testing approach. Part of the problem is that once you have an automated BDD scenario and you've written the software to satisfy it, it can look seductively like a test. From there it is a short step to thinking of these scenario automation tools as testing software, and the rest is frustrating, repetitive history. This talk explores the relationship between BDD scenarios and acceptance tests, and suggests some strategies for avoiding the pain of BDD-as-test automation.