-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
acceptance test for harvesting fields
- Loading branch information
1 parent
3545bb3
commit bb33b0c
Showing
6 changed files
with
76 additions
and
23 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
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
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 |
---|---|---|
@@ -1,8 +1,47 @@ | ||
Feature: | ||
Feature: Harvest - Field Phase | ||
|
||
Scenario: Turns | ||
Scenario: Fields are automatically harvested | ||
Given I start playing | ||
Then the current turn is 1 | ||
When I select "Take 1 Grain" | ||
And I select "Take x Wood" | ||
Then the current turn is 2 | ||
|
||
# Turn 1 | ||
* I select "Take 1 Grain" | ||
* I select "Plow 1 Field" | ||
* I plow A1 | ||
|
||
# Turn 2 | ||
* I select "Take 1 Grain" | ||
* I select "Plow 1 Field" | ||
* I plow A2 | ||
|
||
# Turn 3 | ||
* I select "Sow and/or Bake bread" | ||
* I sow grain on A1 | ||
* I sow grain on A2 | ||
* I select "Take x Wood" | ||
|
||
# Turn 4 | ||
* I select "Take x Clay" | ||
* I select "Take x Reed" | ||
|
||
# Harvest | ||
Then I have 2 grain in my supply | ||
And I have 2 grain on A1 | ||
And I have 2 grain on A2 | ||
|
||
# Turn 5 | ||
* I select "Take x Clay" | ||
* I select "Take x Reed" | ||
|
||
# Turn 6 | ||
* I select "Take x Clay" | ||
* I select "Take x Reed" | ||
|
||
# Turn 7 | ||
* I select "Take x Clay" | ||
* I select "Take x Reed" | ||
|
||
# Harvest | ||
Then I have 4 grain in my supply | ||
And I have 1 grain on A1 | ||
And I have 1 grain on A2 | ||
|
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