To prepare for new feature, gather requirements for conjured items

This commit is contained in:
Sam Burns 2024-01-24 16:17:01 +00:00
parent d7bb4c9f94
commit c07ed14265

View File

@ -0,0 +1,22 @@
Feature: Conjured items
In order to keep track of conjured items
As a shopkeeper
I want to see the quality of a conjured item decrease by 2 each day
@wip
Scenario: Single quality update
Given a conjured item with a sell-in of 20 and a quality of 20
When I update the quality
Then the item should have a quality of 18
@wip
Scenario: Quality cannot be negative
Given a conjured item with a sell-in of 20 and a quality of 0
When I update the quality
Then the item should have a quality of 0
@wip
Scenario: Once the sell-by date has passed, quality degrades twice as fast
Given a conjured item with a sell-in of 0 and a quality of 20
When I update the quality
Then the item should have a quality of 16