Gilded-rose-kata
refactor kata
First approach: unit tests
The probability to touch unknow code and break it is very high, is a good practice to write all possible tests before begin and later touch the code. So, here you can see all requirements as tests format.
UNIT_TESTS_LINK APPROVAL_TESTS_LINK
In this file there are 3 different solutions of this kata: Solution
- the_I_do_not_like_to_repair_things_method (line 51), the fast, dangerous and not good team member solution.
- the_iñaki_you_owe_me_a_ramen_method (line 82), my solution.
- the_i_am_the_best_work_colleague_of_the_world (line 87) amazing solution extracted from Beautiful_Solution
If you know more interesting katas please let me know, :)