🎸 기타
[Cucumber] Gherkin
냥장판
2021. 4. 3. 19:08
반응형
Gherkin
In order for Cucumber to understand the scenarios, they must follow some basic syntax rules, called Gherkin.
Gherkin is a set of grammar rules that makes plain text structured enough for Cucumber to understand.
Gherkin serves multiple purposes:
- Unambiguous executable specification
- Automated testing using Cucumber
- Document how the system actually behaves

Step definitions connect Gherkin setps to programming code.
- Given
- When
- Then
- And
- But

e.g.

반응형