- It's all about Collaboration between teams.
- Defines the behavior of a software system through examples that describe the expected interactions between the user and the system.
These documents
- capture the behavior of a software system.
- continuously updated
- easily understandable and accessible by various stakeholders, including (developers, testers, business analysts, etc...)
Feature:
Scenario:
Given:
When:
Then:
Example
Feature: As a user, i want to purchase order by using Credit Card
Scenario: User successfully used his credit card
Given: A list of products
When: The user submit purchase request using CC
Then: A new order created with CC method
Enhance Collaboration between teams.
see simple example here