In this episode I undo part of the refactoring from the last episode, where I tried to do to many things at a time and, thereby, broke my tests. I then redo the refactoring one step at a time, while continuously executing my test suite to verify that nothing broke. This way, I manage to clean up the code considerably, without ever breaking anything for more than a few seconds.
All code of this and all subsequent episodes is available in a Github Repository: [ Ссылка ]
![](https://i.ytimg.com/vi/IMv7L9aXtT4/maxresdefault.jpg)