Google Developer Expert for Android and Kotlin, enthusiastic public speaker, senior engineer at Snapp Mobile, Kotlin aficionado, Multiplatform manipulator, prolific facilitator of cute cat photographs, spends more time travelling than working (he/him)
Refactoring and Test Fakes: Crafting Resilient Code with Confidence 😎
12:05 > 20 min
Crafting resilient code is one of the most important things we do as software developers, but it's much easier said than done! Building with confidence requires an appropriate test harness and automated safeguards to ensure your software is robust.
In most real world scenarios, we don't have the luxury of working with a green field project, so it can be difficult to apply best practices whilst maintaining legacy code. How then can we refactor, and effectively utilise test fakes appropriately?
In this talk, I'll discuss the best approaches for using test fakes, mocks, stubs, and what are the pros and cons for each. How we can avoid writing brittle tests, slowing down development, and build scalable apps that can stand the test of time.