-
-
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): acceptance tests werewolf role (#565)
- Loading branch information
1 parent
fdf28d0
commit 8cdb589
Showing
2 changed files
with
913 additions
and
909 deletions.
There are no files selected for viewing
25 changes: 25 additions & 0 deletions
25
tests/acceptance/features/game/features/role/werewolf.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,25 @@ | ||
@werewolf-role | ||
|
||
Feature: 馃惡 Werewolf role | ||
|
||
Scenario: 馃惡 Werewolves eat a player | ||
|
||
Given a created game with options described in file no-sheriff-option.json and with the following players | ||
| name | role | | ||
| Antoine | villager | | ||
| Juju | witch | | ||
| Doudou | vile-father-of-wolves | | ||
| Thom | werewolf | | ||
Then the game's current play should be werewolves to eat | ||
And the game's current play should be played by the following players | ||
| name | | ||
| Doudou | | ||
| Thom | | ||
And the game's current play occurrence should be on-nights | ||
|
||
When the werewolves eat the player named Juju | ||
Then the player named Juju should have the active eaten from werewolves attribute | ||
And the game's current play should be witch to use-potions | ||
|
||
When the player or group skips his turn | ||
Then the player named Juju should be murdered by werewolves from eaten |
Oops, something went wrong.