- Use Truth Library
- Use @Test annotation
- Fields or Values Validations
- Test cases for Singleton class
- Test cases for Simple/ Non Singleton class
- Android Context inside test class
- Value Comparison using Context and ResId
- Use @Before and @After annotations
- Use Room Database ( insert, update and delete )
- Use @get:Rule
- Use Dagger Hilt for Room Database testing
- Use HiltAndroidRule
-
Notifications
You must be signed in to change notification settings - Fork 0
arsalankhan994/unit-testing-step-by-step
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description or website provided.
Topics
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published