Is the goal of your QA team to increase the number of automated tests? Are managers looking for tools that allow test-automation without the need for development skills? Are you using Given/When/Then phrasing to write automation tests?
In this session we’ll briefly define what BDD is, spend a bit longer describing what it isn’t, and look at several typical examples of what can go wrong if you use Cucumber when you’re not following a BDD approach.
11. @sebrose seb.rose@smartbear.com
BDD core practices
Create a shared understanding of the
requirements through collaboraDon, typically
achieved through a structured conversaDon
centered on rules and examples
Examples of system behaviour are
documented using business terminology
The documentaDon is automated, creaDng
living documentaDon that verifies the
system’s behaviour
12. @sebrose seb.rose@smartbear.com
BDD core practices
Examples of system behaviour are
documented using business terminology
The documentaDon is automated, creaDng
living documentaDon that verifies the
system’s behaviour
Create a shared understanding of the
requirements through collabora5on, typically
achieved through a structured conversa5on
centered on rules and examples
13. @sebrose seb.rose@smartbear.com
BDD core practices
Create a shared understanding of the
requirements through collaboraDon, typically
achieved through a structured conversaDon
centered on rules and examples
The documentaDon is automated, creaDng
living documentaDon that verifies the
system’s behaviour
Examples of system behaviour are
documented using business terminology
14. @sebrose seb.rose@smartbear.com
BDD core practices
Create a shared understanding of the
requirements through collaboraDon, typically
achieved through a structured conversaDon
centered on rules and examples
Examples of system behaviour are
documented using business terminology
The documenta5on is automated, crea5ng
living documenta5on that verifies the
system’s behaviour
23. @sebrose seb.rose@smartbear.com
Terminology
BDD - soPware development approach driven by desired
behaviour
Example - concrete illustraDon of how the system behaves
Scenario - example formulated in business language
24. @sebrose seb.rose@smartbear.com
Terminology
BDD - soPware development approach driven by desired
behaviour
Example - concrete illustraDon of how the system behaves
Scenario - example formulated in business language
“the BDDs” - collecDve term for automated tests executed
by Cucumber
25. @sebrose seb.rose@smartbear.com
Terminology
BDD - soPware development approach driven by desired
behaviour
Example - concrete illustraDon of how the system behaves
Scenario - example formulated in business language
“the BDDs” - collecDve term for automated tests executed
by Cucumber
“the BDDs” - collecDve term for automated tests executed
by Cucumber
53. @sebrose seb.rose@smartbear.com
BDD != Test Automation
The 2nd “D” in BDD
stands for “Driven”
BDD is
collaborative
There’s no such thing
as “BDDs” !
bddbooks.com
Wrap-up
54. @sebrose seb.rose@smartbear.com
BDD != Test Automation
The 2nd “D” in BDD
stands for “Driven”
BDD is
collaborative
There’s no such thing
as “BDDs” !
bddbooks.com
Wrap-up
Tests of all sorts are a
source of valuable
feedback