-
-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test(acceptance): dog wolf acceptance tests (#410)
- Loading branch information
1 parent
73801b4
commit 8163c39
Showing
3 changed files
with
39 additions
and
2 deletions.
There are no files selected for viewing
29 changes: 29 additions & 0 deletions
29
tests/acceptance/features/game/features/role/dog-wolf.feature
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,29 @@ | ||
Feature: 馃惗 Dog Wolf role | ||
|
||
Scenario: 馃惗 Dog Wolf chooses the villagers side | ||
|
||
When a created game with options described in file no-sheriff-option.json and with the following players | ||
| name | role | | ||
| Antoine | dog-wolf | | ||
| Benoit | villager | | ||
| Cecile | villager | | ||
| David | werewolf | | ||
Then the game's current play should be dog-wolf to choose-side | ||
And the player named Antoine should be on villagers current side and originally be on villagers side | ||
|
||
When the dog wolf chooses the villagers side | ||
Then the player named Antoine should be on villagers current side and originally be on villagers side | ||
|
||
Scenario: 馃惗 Dog Wolf chooses the werewolves side | ||
|
||
When a created game with options described in file no-sheriff-option.json and with the following players | ||
| name | role | | ||
| Antoine | dog-wolf | | ||
| Benoit | villager | | ||
| Cecile | villager | | ||
| David | werewolf | | ||
Then the game's current play should be dog-wolf to choose-side | ||
And the player named Antoine should be on villagers current side and originally be on villagers side | ||
|
||
When the dog wolf chooses the werewolves side | ||
Then the player named Antoine should be on werewolves current side and originally be on villagers side |
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
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