Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #Author: your.email@your.domain.com
- #Keywords Summary :
- #Feature: List of scenarios.
- #Scenario: Business rule through list of steps with arguments.
- #Given: Some precondition step
- #When: Some key actions
- #Then: To observe outcomes or validation
- #And,But: To enumerate more Given,When,Then steps
- #Scenario Outline: List of steps for data-driven as an Examples and <placeholder>
- #Examples: Container for s table
- #Background: List of steps run before each of the scenarios
- #""" (Doc Strings)
- #| (Data Tables)
- #@ (Tags/Labels):To group Scenarios
- #<> (placeholder)
- #""
- ## (Comments)
- #Sample Feature Definition Template
- @tag
- Feature: Create Journey for Container
- #Description: A container is registered in a Journey
- #Actor: Client
- #The system should allow the clients to
- #register containers for journeys. Some
- #information should be entered by the client
- #(e.g., port of origin, destination, content, company),
- #while some information should be
- #automatically created by the system (e.g., journey id).
- @tag1
- Scenario: Succesful Creation of Journey for Container
- Given a client with name "Andrei Redis", address "Kollegiebakken", refP "Jordy Shore", email "kim@gov.nk"
- And a container with id "01"
- When journey is created for container with port of origin "Madrid", destination "Copenhagen", content "Oranges", company "DTU"
- Then a journey is created for the container with id "01" and client
- And new journey id "DTU01" is created
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement