Skip to content

Is there a technical difference between given, when and then? #1016

Closed Answered by blaisep
dtgriscom-ta asked this question in Q&A
Discussion options

You must be logged in to vote

@dtgriscom-ta , If I understand your question....

Given
When
Then

are keywords which the step registry uses to associate the statement with functions in the steps folder that have been decorated with the corresponding keyword .
These keywords are established by convention and you can change them to suit other national languages (Norwegian and French are popular alternatives).

Replies: 3 comments 4 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by dtgriscom-ta
Comment options

You must be logged in to vote
2 replies
@jenisys
Comment options

@dtgriscom-ta
Comment options

Comment options

You must be logged in to vote
2 replies
@dtgriscom-ta
Comment options

@dtgriscom-ta
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants