-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of https://github.com/inviqa/training-bdd
- Loading branch information
Showing
1 changed file
with
24 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
Feature: Player starts a game | ||
As a player | ||
In order to play | ||
I need to start a game | ||
|
||
Scenario: "Player X" wants to start a game | ||
Given I am "Player X" | ||
And I Want to start a game | ||
Then I should get a new grid | ||
|
||
Scenario: "Player 0" wants to start a game | ||
Given I am "Player 0" | ||
And I want to start a game | ||
Then I should wait for "Player X" to start a game | ||
|
||
Scenario: "New Player" wants to play a game | ||
Given I am a "New Player" | ||
And "Player X" is not assigned | ||
Then assign player to "Player X" | ||
|
||
Scenario: "New Player" wants to play a game and there is already one player | ||
Given I am a "New Player" | ||
And "Player X" is assigned | ||
Then assign player to "Player 0" |