Talk in English - UK at ScotlandPHP 2019
View Video: https://www.youtube.com/watch?v=2yzRTQ5IeiE
View Slides: https://speakerdeck.com/maccath/legacy-code-testing-and-safe-refactoring-scotland-php-2019
Short URL: https://joind.in/talk/64622 (QR-Code (opens in new window))
The paradox: I can't test this code because it's legacy. I need to refractor the code to make it testable. How can I manage that, without breaking existing functionality? I'll need to write some tests, but... argh!
We've all been there! In this talk we'll look at safe ways to refactor and test 'untestable' code - without breaking any existing functionality. Promise!