Android Testing ViewModels - MVVM Unit Testing Tutorial | CheezyCode - Hindi

Published: 25 November 2022
on channel: Cheezy Code
12,859
208

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  


On this page of the site you can watch the video online Android Testing ViewModels - MVVM Unit Testing Tutorial | CheezyCode - Hindi with a duration of hours minute second in good quality, which was uploaded by the user Cheezy Code 25 November 2022, share the link with friends and acquaintances, this video has already been watched 12,859 times on youtube and it was liked by 208 viewers. Enjoy your viewing!