Room Database - Testing Your Room

preview_player
Показать описание

Join my Community on Discord:

This video will show how we can test your Room Implementation, alongside some best practices and notes on how to use it in E2E and integration tests.

Room is a Jetpack Persistence library; it provides an abstraction over SQLite, which you can use to save data locally on your device, especially for delivering an offline experience for your users.

In This video series, I demonstrate the basic features of Room Library, starting with the setup, adding entities and Daos, creating converters and database, and completing with some of the Best practices such as Clean Architecture, Repository pattern, and Testing.

👨🏽‍🏭 Who I am:
I'm Younes Charfaoui, a Junior Software Engineer and an Android Developer. I make videos about Android development, Technology, and Productivity for software engineers.

😋 Be My Friend:
Рекомендации по теме
Комментарии
Автор

Why you are not returning "Flow<List<Words>>" rather then List<Words>
because it i think every one using Flow to getting data from Room databas .

Adnankhan-dqrx
Автор

I need to use within LocalUnit test..is this possible..if it is possible.. how to achieve that ..

MuthamilselvamSivakumar
Автор

beside methods test, developer should also do migrations test, it is as important as unit test

abdallaaltaay
Автор

Which test dependency did you use? I could not access the context in java

Eyuel
Автор

Brother please. What is the most important source you learned English from?😀

batship