You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Idea here is to be able to test views/fragments alone(unit) than depending on activity.
If I have 4 fragments in my activity and I have to test fourth fragment, I do not want to launch my activity and then go all the way to fourth fragment navigating.
I should be able to create a dummy activity in androidTest directory, launch it and then attach fourth fragment to it and test.
Right now they are two different apks and not able to launch dummy activity(present in test code).
Note: Its not the case for ui-libraries(they don't have separate apk for themselves) and it works.
The text was updated successfully, but these errors were encountered:
sultanahamer
changed the title
To be able to launch activities from androidTest directory
Espresso unit: To be able to launch activities from androidTest directory
Sep 21, 2018
Idea here is to be able to test views/fragments alone(unit) than depending on activity.
If I have 4 fragments in my activity and I have to test fourth fragment, I do not want to launch my activity and then go all the way to fourth fragment navigating.
I should be able to create a dummy activity in androidTest directory, launch it and then attach fourth fragment to it and test.
Right now they are two different apks and not able to launch dummy activity(present in test code).
Note: Its not the case for ui-libraries(they don't have separate apk for themselves) and it works.
The text was updated successfully, but these errors were encountered: