In this guided demo, we are going to look at 3 different techniques that are remarkably powerful in combination to cut through legacy code without having to go thru the bother of reading or understanding it.
The techniques are:
- Combination Testing: to get 100% test coverage quickly
- Code Coverage as guidance: to help us make decisions about inputs and deletion
- Provable Refactorings: to help us change code without having to worry about it
- In combination, these 3 techniques can quickly make impossible tasks trivial
I will be doing the gilded rose kata. It is encouraged to try it out yourself first: https://github.com/emilybache/GildedRose-Refactoring-Kata