Creating new test file #4770
-
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Which version of Android Studio are you using @rishujam? There's an issue with versions later than Bumblebee where AGP won't properly handle multi-module projects like ours (specifically, the way we set up shared tests)--see #4572. Currently, all app module tests are either under sharedTest (which means they can run with both Robolectric and Espresso), or test (which means they are Robolectric only). What's your use case for not requiring any Android components? That's generally rare in the UI module since even hooking into the Dagger graph requires Android dependencies. |
Beta Was this translation helpful? Give feedback.
Which version of Android Studio are you using @rishujam? There's an issue with versions later than Bumblebee where AGP won't properly handle multi-module projects like ours (specifically, the way we set up shared tests)--see #4572.
Currently, all app module tests are either under sharedTest (which means they can run with both Robolectric and Espresso), or test (which means they are Robolectric only). What's your use case for not requiring any Android components? That's generally rare in the UI module since even hooking into the Dagger graph requires Android dependencies.