Advertisement
Guest User

Untitled

a guest
Mar 31st, 2020
407
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.46 KB | None | 0 0
  1. #Author: your.email@your.domain.com
  2. #Keywords Summary :
  3. #Feature: List of scenarios.
  4. #Scenario: Business rule through list of steps with arguments.
  5. #Given: Some precondition step
  6. #When: Some key actions
  7. #Then: To observe outcomes or validation
  8. #And,But: To enumerate more Given,When,Then steps
  9. #Scenario Outline: List of steps for data-driven as an Examples and <placeholder>
  10. #Examples: Container for s table
  11. #Background: List of steps run before each of the scenarios
  12. #""" (Doc Strings)
  13. #| (Data Tables)
  14. #@ (Tags/Labels):To group Scenarios
  15. #<> (placeholder)
  16. #""
  17. ## (Comments)
  18. #Sample Feature Definition Template
  19.  
  20. @tag
  21. Feature: Create Journey for Container
  22. #Description: A container is registered in a Journey
  23. #Actor: Client
  24.  
  25. #The system should allow the clients to
  26. #register containers for journeys. Some
  27. #information should be entered by the client
  28. #(e.g., port of origin, destination, content, company),
  29. #while some information should be
  30. #automatically created by the system (e.g., journey id).
  31.  
  32. @tag1
  33. Scenario: Succesful Creation of Journey for Container
  34. Given a client with name "Andrei Redis", address "Kollegiebakken", refP "Jordy Shore", email "kim@gov.nk"
  35. And a container with id "01"
  36. When journey is created for container with port of origin "Madrid", destination "Copenhagen", content "Oranges", company "DTU"
  37. Then a journey is created for the container with id "01" and client
  38. And new journey id "DTU01" is created
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement