Python refactoring of Gilded Rose
Based on the multi-language repository by @emilybache.
The main idea of this problem , you are working with legacy code with no tests !
You are asked to add a feature , and handed the code requirements .
To add a feature, you must :
- Understand requirements
- Write a good test suite
- Refactor code without breaking and never altering Item class otherwise a goblin devloper will devour you .
(This is meant to impose constrain on you so you respect the interface and do not break other legacy code that depend on it) - Finally add the feature !!
- Amazing Ruby refactoring talk by Sandi Metz All the Little Things by Sandi Metz
- Step by step refactoring by Lomig A Walk Through the Gilded Rose Kata
- Writing Good Tests for the Gilded Rose Kata
- Why Most Solutions to Gilded Rose Miss The Bigger Picture
- A lesson-by-lesson Java implementation of the Emily Bache's Gilded Rose refactoring kata