raniejade / spek-idea-plugin

MIT License
48 stars 15 forks source link

Unmocked Android JAR not used #73

Open ebrowne72 opened 5 years ago

ebrowne72 commented 5 years ago

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 commented 5 years ago

Still have this issue with Android Studio 3.5.