Continuing our series on Android automated testing, in this episode we focus on how to add unit tests to a ViewModel class that uses LiveData, Coroutines, and DataBinding using MockK for mocking, the Truth library for assertions, ArchCore, and the Coroutines Test library.
Consider Subscribing 🤩
/ @danieltalkscode
Chapters:
0:00 Intro
0:24 The TodosViewModel
1:28 Dependencies
2:14 Generate a Test
4:48 Write Your First Test
6:19 Testing Coroutines
Github Repository:
https://github.com/danpgomez/Importan...
-----
The Android robot is reproduced or modified from work created and shared by Google and used according to terms described in the Creative Commons 3.0 Attribution License.
Nesta página do site você pode assistir ao vídeo on-line Android Unit Testing for Beginners - Android Testing Part 2 duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário Daniel Talks Code 29 Janeiro 2024, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 1,662 vezes e gostou 34 espectadores. Boa visualização!