Styrow.dev
Question 11 of 27
Cucumber Topic: General medium

What is the difference between Given, When, Then steps in feature file?

Question

What is the difference between Given, When, Then steps in feature file?

Answer

Given defines the context of the scenario When defines the actions of the scenario Then defines the outcome of the scenario