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
{{ message }}
This repository has been archived by the owner on Jul 25, 2019. It is now read-only.
I just was trying out your plugin and found out that it somehow uses both dependencies:
the ones from testCompile for the robolectric plugin as well as androidTestCompile which ich use to run my androidUnitTest / EspressoTests.
Could you check if this is true because if i comment the androidTestCompile out it isn't compiling.
If i run the stuff on command line everything works fine
Additionally the plugin overrides for example the jvmArgs or doesn't inherit the arguments from the junit template or robolectric plugin (version 2.1.1)
Cheers
Neristance
The text was updated successfully, but these errors were encountered:
As for jvmArgs, you are right, they are not read from the gradle config, and they are currently hardcoded in the run configuration because certain parameters are needed to robolectric to work.
I believe I'm experiencing a similar issue. My androidTestCompile dependencies appear like testCompile dependencies when executing the unit tests from Android Studio. However, the tests work fine from the command line. The odd thing is that the dependencies task, also run from the command line, shows these androidTestCompile dependencies on the _debugTestCompile task which seems inappropriate.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi There,
I just was trying out your plugin and found out that it somehow uses both dependencies:
the ones from testCompile for the robolectric plugin as well as androidTestCompile which ich use to run my androidUnitTest / EspressoTests.
Could you check if this is true because if i comment the androidTestCompile out it isn't compiling.
If i run the stuff on command line everything works fine
Additionally the plugin overrides for example the jvmArgs or doesn't inherit the arguments from the junit template or robolectric plugin (version 2.1.1)
Cheers
Neristance
The text was updated successfully, but these errors were encountered: