Skip to content

Creating new test file #4770

Discussion options

You must be logged in to vote

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.

Replies: 1 comment

Comment options

BenHenning
Nov 29, 2022
Maintainer Sponsor

You must be logged in to vote
0 replies
Answer selected by rishujam
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants