GildedRose-Refactoring-Kata/python
Anna Klimova 5a30f03ea4 Refactor update_quality() by splitting into meaningful branches
Use specific if-condition for every type of object. Do according
actions inside.
2024-01-04 17:00:42 +01:00
..
.gitignore Moves language specific Git ignores into language subfolders. 2018-12-02 20:31:26 +01:00
gilded_rose.py Refactor update_quality() by splitting into meaningful branches 2024-01-04 17:00:42 +01:00
README.md Fix Python documentation 2023-11-03 16:56:46 +01:00
test_gilded_rose.py Add simple tests 2024-01-04 16:40:43 +01:00
texttest_fixture.py format Python code (only whitespace changes) 2014-01-25 23:01:40 +01:00

Gilded Rose starting position in Python

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