Slide 1

Slide 1 text

@MaritvanDijk77 github.com/mlvandijk medium.com/@mlvandijk Joy of automated acceptance tests with Cucumber

Slide 2

Slide 2 text

Why Cucumber? •Natural language specification •Automated tests @MaritvanDijk77

Slide 3

Slide 3 text

Specification (Gherkin) @MaritvanDijk77

Slide 4

Slide 4 text

Step definitions @MaritvanDijk77

Slide 5

Slide 5 text

Expected benefits + Easy to communicate + Automated verification @MaritvanDijk77 * actual commit message ;)

Slide 6

Slide 6 text

Unexpected benefits + Reusable steps + Identify missing information + Up-to-date documentation! @MaritvanDijk77

Slide 7

Slide 7 text

Layers Feature file Helpers StepDefs Application Expected behavior - Natural language “Glue” Reusable test code Programming language @MaritvanDijk77

Slide 8

Slide 8 text

When not to use it? •Benefits < cost •Communication @MaritvanDijk77

Slide 9

Slide 9 text

@MaritvanDijk77 github.com/mlvandijk medium.com/@mlvandijk Joy of automated acceptance tests with Cucumber