Загрузка...

From Basics to Advanced: What’s Coming Up in Android Testing | Android Unit Testing - 19

In this video, we delve into the distinctions between developer-owned and Android-owned code when it comes to testing in Android development. We revisit how we previously approached testing the database and categorize the architecture into two key segments. The right-hand side, including the repository and beyond, is considered developer-owned code, typically tested using pure JVM unit tests. On the other hand, components like ViewModel and Composable are managed by the Android framework, requiring a different testing strategy focused on interaction and behavior using instrumented tests and mocking frameworks. This video sets the stage for upcoming content that will shift focus towards testing Android-managed components.

#AndroidDevelopment #UnitTesting #InstrumentedTests #AndroidTesting #JetpackCompose #ViewModel #RoomDatabase #MockingFrameworks #DeveloperTools

Follow me on Twitter: https://twitter.com/anilvdeshpande

Chapters
00:00 - Introduction
00:09 - Recap on database testing in Android
00:28 - Developer-owned vs Android-owned code
01:04 - Room DB and developer choice
01:32 - Testing developer-owned code
01:56 - Testing Android-owned code
02:17 - Using mocking frameworks
02:42 - Shift from JVM to instrumented tests
03:04 - What's next: Testing Android-managed components
03:14 - Conclusion and call to action

Видео From Basics to Advanced: What’s Coming Up in Android Testing | Android Unit Testing - 19 канала Codetutor
Яндекс.Метрика
Все заметки Новая заметка Страницу в заметки
Страницу в закладки Мои закладки
На информационно-развлекательном портале SALDA.WS применяются cookie-файлы. Нажимая кнопку Принять, вы подтверждаете свое согласие на их использование.
О CookiesНапомнить позжеПринять