GildedRose-Refactoring-Kata/python
Yarramsetti Naresh 24c56931bf 3. Implement Conjured items support:
Added update_conjured_item method that:
    Degrades quality twice per day (calls decrease_quality twice)
    Respects same quality bounds as normal items
Modified dispatcher to detect "Conjured" in item names
Enhanced expired item handling:
    Double degradation continues post-sell-by
    Added explicit condition before Sulfuras check
Maintained all existing behavior through test verification
2025-04-06 17:52:27 +05:30
..
.gitignore Moves language specific Git ignores into language subfolders. 2018-12-02 20:31:26 +01:00
gilded_rose.py 3. Implement Conjured items support: 2025-04-06 17:52:27 +05:30
README.md Improve docs for python version 2024-06-01 10:13:32 +02:00
requirements.txt Improve docs for python version 2024-06-01 10:13:32 +02:00
test_gilded_rose.py 1. Add Comprehensive Test Cases to cover all existing functionality before making any changes. 2025-04-06 17:10:47 +05:30
texttest_fixture.py format Python code (only whitespace changes) 2014-01-25 23:01:40 +01:00

Gilded Rose starting position in Python

For exercise instructions see top level README

Suggestion: create a python virtual environment for this project. See the documentation

Run the unit tests from the Command-Line

python test_gilded_rose.py

Run the TextTest fixture from the Command-Line

For e.g. 10 days:

python texttest_fixture.py 10

You should make sure the command shown above works when you execute it in a terminal before trying to use TextTest (see below).

Run the TextTest approval test that comes with this project

There are instructions in the TextTest Readme for setting up TextTest. You will need to specify the Python executable and interpreter in config.gr. Uncomment these lines:

executable:${TEXTTEST_HOME}/python/texttest_fixture.py
interpreter:python