-
Notifications
You must be signed in to change notification settings - Fork 0
Tests
octogradiste edited this page Apr 19, 2024
·
1 revision
To make our composable tests go faster, we can move them from androidTest
to the test
folder. Make sure you annotate your test class with @RunWith(AndroidJUnit4::class)
.
Note
If some tests fail, which did not before, it might be because the screen size of robolectric is to small to show all the composble of your screen. You can use assertIsDisplayed()
to check if this is the case.
Note
For now we don't have robolectric setup with hilt.