Android Unit Testing for Beginners - Android Testing Part 2

Publicado el: 29 enero 2024
en el canal de: Daniel Talks Code
1,662
34

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.


En esta página del sitio puede ver el video en línea Android Unit Testing for Beginners - Android Testing Part 2 de Duración hora minuto segunda en buena calidad , que subió el usuario Daniel Talks Code 29 enero 2024, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 1,662 veces y le gustó 34 a los espectadores. Disfruta viendo!