Skip to content

Repo Representing practice for 3 types of android testing (unit testing - integration testing - UI testing)

Notifications You must be signed in to change notification settings

Ahabdelhak/AndroidTestingGuide

Repository files navigation

AndroidTestingGuide

Repo Representing practice for 3 types of android testing (unit testing - integration testing - UI testing)

The 3 tiers of the Android test pyramid

android-unit-testing-docs

Unit Testing :

  • Ensures that all code meets quality standards before it's deployed
  • Confirm code work like a charm.
  • Simulate App End User.
  • You don't need run real device or emulator to test cases.

Test-Driven Development (TDD)

1_ieVWcSsJmeBbZFo6a_dL5g

Test Driven Development :

  • Unit test provides constant feedback about the functions.
  • Quality of design increases which further helps in proper maintenance.
  • Test driven development act as a safety net against the bugs.
  • TDD ensures that your application actually meets requirements defined for it.
  • TDD have very short development lifecycle.

Repo Contains The implementations of :

  • RegistrationUtil Unit Testing.
  • ResourceComparerTest (android Context Test)
  • Room DB Testing.
  • Creating a Fake Repository for testing.
  • Testing ViewModel.
  • Dagger-Hilt Testing.
  • Testing Fragments with Dagger-Hilt.
  • Testing Navigation with Mockito & Espresso.
  • Test Image Picking.

About

Repo Representing practice for 3 types of android testing (unit testing - integration testing - UI testing)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages