Talk in English - UK at The Dutch PHP Conference 2024
Short URL: https://joind.in/talk/5656b
(QR-Code (opens in new window))
You followed all the rules: TDD, SOLID, CUPID and of course DDD. But when refactoring time comes, you still have to touch all those pesky tests. You thought refactoring meant not changing the tests!?
In this session we’ll see how design choices can lead to test pain – and how you can avoid that pain by pushing side effects to the edge. We’ll:
– Identify context and side-effects
– Split up different kinds of logic
– Black-box test *all the things*
– … identify when and when not to!
Comments
Comments are closed.
Nice talk about refactoring code to pure functions to reduce internal context and side effects. Really glad you mentioned the Integration Operation Segregation Principle. I think it's the most in-depth talk of DPC 2024.
Enjoyed the talk - clear examples, and good demonstrations of how pure functions help our test burden.
The audience took some time to start joining in with the questions that came up but it did feel good to be involved.
Pim always delivers! ;)