Android Unit Testing for Beginners - Android Testing Part 2

Pubblicato il: 29 gennaio 2024
sul canale di: 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.


In questa pagina del sito puoi guardare il video online Android Unit Testing for Beginners - Android Testing Part 2 della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Daniel Talks Code 29 gennaio 2024, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 1,662 volte e gli è piaciuto 34 spettatori. Buona visione!