Created
April 1, 2017 01:22
-
-
Save jordancrawfordnz/340463924abf9d84a0e6441e8f2d9f10 to your computer and use it in GitHub Desktop.
An example of a Cucumber feature for Ticket to Ride.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Scenario: The player uses their turn to claim a route and the route appears as claimed. | |
Given a game with 5 players is setup | |
And the player has 5 train pieces | |
And the player has 5 "Hopper" train cars | |
And the player navigates to the game page | |
When the player clicks the claim route button on a route between "Vancouver" and "Calgary" | |
And the player selects 3 "Hopper" train cars | |
And the player clicks the "Claim Route" button | |
Then the player is on the game page | |
And the player sees the route from "Vancouver" to "Calgary" claimed with their name |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment