https://github.com/f-lombardo/gilded-rose-python
A possible implementation of the Gilded Rose Refactoring Kata in Python
https://github.com/f-lombardo/gilded-rose-python
Last synced: 2 months ago
JSON representation
A possible implementation of the Gilded Rose Refactoring Kata in Python
- Host: GitHub
- URL: https://github.com/f-lombardo/gilded-rose-python
- Owner: f-lombardo
- License: mit
- Created: 2024-03-14T09:25:02.000Z (about 1 year ago)
- Default Branch: master
- Last Pushed: 2024-03-24T08:12:06.000Z (about 1 year ago)
- Last Synced: 2024-03-24T09:24:16.781Z (about 1 year ago)
- Language: Python
- Size: 5.86 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Gilded Rose starting position in Python
This is a possible solution to the [Gilded Rose Refactoring Kata](https://github.com/emilybache/GildedRose-Refactoring-Kata)
by [Emily Bache](https://github.com/emilybache) using Python.Here you can find the [starting rules of the kata](GildedRoseRequirements.md).
## 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
```## Run acceptance test
```shell
(cd tests
pytest TestUpdateQuality.py)
```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](../texttests/README.md) for setting up TextTest. You will need to specify the Python executable and interpreter in [config.gr](../texttests/config.gr). Uncomment these lines:
executable:${TEXTTEST_HOME}/python/texttest_fixture.py
interpreter:python