Room Database - Testing Your Room

Поділитися
Вставка
  • Опубліковано 30 вер 2024
  • 📩 Sign up for my new newsletter here 👉 bit.ly/YCNewsl...
    Join my Community on Discord:
    / 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:
    💻 GitHub - github.com/You...
    🐦 Twitter - / charfaouiyounes
    📑 Medium - / mxcsyounes
    📷 Instagram - / charfaoui.younes
    🌍 My website - www.youneschar...

КОМЕНТАРІ • 10

  • @jaelsonwagner
    @jaelsonwagner 3 місяці тому +1

    Very nice 👍

  • @Adnankhan-dq9rx
    @Adnankhan-dq9rx Місяць тому

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

  • @MuthamilselvamSivakumar
    @MuthamilselvamSivakumar 2 місяці тому

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

  • @lynnbosley3410
    @lynnbosley3410 5 місяців тому

    Spoken English is not understood.

  • @batship7929
    @batship7929 Рік тому +2

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

    • @CharfaouiYounes
      @CharfaouiYounes  Рік тому

      Hey there Brother, Honestly, I learned it by learning computer science stuff and programming lessons in English!

    • @batship7929
      @batship7929 Рік тому +1

      @@CharfaouiYounes 🙃Thanks for your clarification

  • @abdallaaltaay4487
    @abdallaaltaay4487 Рік тому +2

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

  • @Eyuel29
    @Eyuel29 7 місяців тому

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