Upgrade to Pro — share decks privately, control downloads, hide ads and more …

A Guide to Unit Testing Architecture Components

A Guide to Unit Testing Architecture Components

Android Maestro

August 09, 2019
Tweet

More Decks by Android Maestro

Other Decks in Programming

Transcript

  1. HELLO! I am Jabez Magomere (Mc JB) Android Developer and

    Student (CS) 2 https://github.com/JabezNzomo99 @mc_jayb
  2. 3 Why Test? Testing is a good software practice that

    helps level-up a team’s and an individual’s productivity and efficiency.
  3. 12

  4. 13 Architecture Components • LiveData • Room • View Model

    • Data binding • Life Cycle • Navigation
  5. 14

  6. 16 Unit Testing Room Testing points Test the behaviour your

    database query functions in the DAOs. Insert, Delete, Get. etc