GildedRose-Refactoring-Kata/python
2023-11-03 16:56:46 +01:00
..
.gitignore Moves language specific Git ignores into language subfolders. 2018-12-02 20:31:26 +01:00
gilded_rose.py Remove extra whitespaces 2015-06-27 08:08:50 +01:00
README.md Fix Python documentation 2023-11-03 16:56:46 +01:00
test_gilded_rose.py Update test_gilded_rose.py 2021-02-18 23:01:21 +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