"I can't test this code because it's legacy. I need to update 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 'untestable' code to make it testable - without breaking any existing functionality. Promise! Then, further changes will be much easier!


Comments are closed.

Pete Samways at 13:45 on 13 Apr 2019

For me this one talk was worth the ticket price on its own.

Informative, well delivered, great examples, and extremely relevant to a situation many developers will find themselves in, myself included.

Great talk! Covered a diverse and complicated topic in a logical manner that was easy to follow.

Adam Duffield at 15:24 on 13 Apr 2019

I found this one not to quite match up with the title. Was like an introduction to unit testing with some funny examples but also examples I didn't understand in relation to a legacy php project. Unfortunately I was expecting the examples to be more useful to me, I did however pick up a few tools I had never heard of before.

Aware of quite a bit but some useful stuff. Some really good and engaging examples.

Stuart McGill at 19:46 on 13 Apr 2019

I really enjoyed this talk - the highlight of the conference for me. Katy was an engaging speaker and clearly knows her stuff. Mockery `overload` was new to me and I expect to refer back to the notes I made on other techniques too.

Gavin Taylor at 18:20 on 14 Apr 2019

really enjoyed this talk, well presented and a nice mix of examples for showing how easy it can be to add tests to existing "untestable" code without having to make large refactors across a codebase.

Mousey at 23:15 on 14 Apr 2019

Fantastic talk, kept the momentum going and explained the solutions to some prickly testing scenarios really well.

The talk was also funny and very entertaining the whole way through

John Hughes at 11:11 on 15 Apr 2019

Useful, practical, well paced, clearly explained. As someone who doesn't do testing (yet) it was accessible enough to understand the basics.

Gave great insight into best practices on how to approach testing, and used some humorous and topical examples to help keep it light. Very enjoyable and eye-opening.

Whilst this talk was interesting and funny at times; I felt that there could have been a deeper dive into legacy code and refactoring as the title suggested. This did feel more like a talk on testing and whilst I did find the brexit jokes funny, I felt they would have been better suited to the after party than as part of a talk.