Why do developers find DNS so hard? It's just cache invalidation and naming things. 😏
My slides for "Robust testing strategies for #TYPO3" are now available at https://a-w.io/talks/events/2024-t3dd/testing-strategies/ #t3dd24
Have fun! I'm happy to hear your thoughts on the topic :)
@wez @sebastian I rather think of it as "do not mock what you don't control", i.e. if you cannot be sure you see all the API and behaviour changes in the code, then don't mock it, because at some point the assumptions underlying your mock will break. And you probably won't notice until it's too late.
The quote resonated with me especially well since TYPO3 and its community have a history of using far too excessive mocking.