https://github.com/albertllousas/beverages-pricing-refactoring-kata
Kata to practice TDD on legacy code with bad inheritance
https://github.com/albertllousas/beverages-pricing-refactoring-kata
Last synced: about 2 months ago
JSON representation
Kata to practice TDD on legacy code with bad inheritance
- Host: GitHub
- URL: https://github.com/albertllousas/beverages-pricing-refactoring-kata
- Owner: albertllousas
- Created: 2024-03-26T10:25:27.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-04-05T10:36:27.000Z (about 1 year ago)
- Last Synced: 2025-01-30T22:48:25.291Z (3 months ago)
- Language: Kotlin
- Size: 60.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Beverage refactoring kata
## Description
Kata to practice refactoring away from a bad inheritance usage with TDD.
Kotlin version of the kata from [here](https://github.com/trikitrok/beverages_pricing_refactoring_kata)
## Goal
This code computes the prices of the beverages served in our coffee house.We'd like you to add an optional cinnamon supplement that costs 0.05€
to all our existing catalog of beverages.### Tips:
You might want to refactor the code a bit first.