In this video you'll learn how you can work with Ktor MockEngine to mock API calls for your tests. It also includes a guide on integration testing in general. ✅ Get a deep-dive into testing on Android: ➡️ Mastering Automated Testing of Industry-Level Android Apps: https://pl-coding.com/testing?utm_source=youtube&utm_medium=video&utm_campaign=easter-sale-2025&cmc_strip=utm ➡️ The Kotlin Coroutines & Flows Masterclass: https://pl-coding.com/coroutines-masterclass?utm_source=youtube&utm_medium=video&utm_campaign=easter-sale-2025&cmc_strip=utm ⭐ Courses with real-life practices ⭐ Save countless hours of time ⭐ 100% money back guarantee for 30 days ⭐ Become a professional Android developer now: https://pl-coding.com/premium-courses?utm_source=youtube&utm_medium=video&utm_campaign=default&cmc_strip=utm 🎓 Become an industry-ready Android developer in the Mobile Dev Campus: https://pl-coding.com/campus?utm_source=youtube&utm_campaign=default&utm_medium=video&cmc_strip=utm 🎁 Get my FREE 4.5h Best Practice Guide to Android Architecture: https://pl-coding.com/best-practice-guide?utm_campaign=default&utm_medium=video&cmc_strip=utm 💻 Let me be your mentor and become an industry-ready Android developer in 10 weeks: https://pl-coding.com/drop-table-mentoring?utm_source=youtube&utm_medium=video&utm_campaign=default&cmc_strip=utm Regular programming advice on my Instagram page: https://www.instagram.com/_philipplackner_/ Get the source code for this video on GitHub: https://github.com/philipplackner/TestingWithKtor