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.
На этой странице сайта вы можете посмотреть видео онлайн Android Unit Testing for Beginners - Android Testing Part 2 длительностью часов минут секунд в хорошем качестве, которое загрузил пользователь Daniel Talks Code 29 Январь 2024, поделитесь ссылкой с друзьями и знакомыми, на youtube это видео уже посмотрели 1,662 раз и оно понравилось 34 зрителям. Приятного просмотра!