Classic refactoring kata to practice legacy code improvement techniques.
Implementation of the famous Gilded Rose Kata in Java with Approval Tests. This kata is perfect for practicing refactoring techniques on legacy code.
The Gilded Rose is an inn that needs to update its inventory system. Different items have different quality degradation rules over time. The challenge is to refactor the existing code without changing its behavior.
Approval Tests: Uses ApprovalTests.Java to verify behavior
Two testing styles: Includes examples with different testing approaches
Complete documentation: Detailed requirements in both English and Spanish
Solution steps: Step-by-step guide through the refactoring process
Work with legacy code
Apply safe refactoring techniques
Create characterization tests
Maintain behavior while improving design
Use approval testing to document behavior
Java
Maven
JUnit 5
ApprovalTests
The project includes:
System requirements (English and Spanish)
Detailed solution steps
Examples of different testing styles