Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unmocked Android JAR not used #73

Open
ebrowne72 opened this issue May 17, 2019 · 1 comment
Open

Unmocked Android JAR not used #73

ebrowne72 opened this issue May 17, 2019 · 1 comment

Comments

@ebrowne72
Copy link

I use the Unmock plugin to use actual Android classes in my tests. It creates /build/intermediates/unmocked-android.jar, which is added to the classpath when I run tests with the Spek plugin, but it appears in the classpath after android.jar from the SDK. This means that the stubbed versions of the classes are used instead of the unmocked ones, which causes the tests to fail.

This worked fine in v0.5.5 and v0.6.1, but breaks in v0.6.0-1 (in Android Studio 3.4).

@ebrowne72
Copy link
Author

Still have this issue with Android Studio 3.5.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant