Learn Android Unit Testing - Learn how to test ViewModels in Android MVVM Architecture. We will be writing test cases for different components in MVVM architecture - viewmodels testing, repository testing, retrofit testing using MockWebServer. We will be covering different test cases in a complete MVVM example. Learn how to write different test cases covering LiveData, Coroutines, InstantTestExecuteRule, TestDispatcher etc.
In this tutorial, we have covered Mockito, JUnit, Coroutines Testing and InstantTaskExecuteRule for Architecture Components testing. Learn unit testing in Android with simple examples in Kotlin Hindi. Everything is explained in Hindi (हिन्दी)
Topics covered -
1. Complete MVVM Architecture Example Walkthrough
2. Unit Test Case Setup using Mockito Mocking
3. Coroutines Testing - TestDispatcher setup
4. LiveData Testing
5. Testing ViewModel - Android JUnit Test Cases
6. advanceUntilIdle concept
Kotlin Flows Playlist -
• Kotlin Flows Tutorials
Jetpack Paging Tutorial -
• Android Paging 3 | Jetpack Architectu...
Complete Dependency Injection Playlist Link -
• Dagger 2 - Dependency Injection in An...
Complete Android Architecture Components Playlist -
• Android Architecture Components and J...
Beginner series in Android Playlist (Hindi) -
• Android Tutorials Step By Step In Hindi
Kotlin Beginners Tutorial Series -
• Kotlin Beginner Tutorials Hindi | Com...
For more info - visit the below link
http://www.cheezycode.com
We are social. Follow us at -
Facebook - / cheezycode
Twitter - / cheezycode
Instagram - / cheezycode