spek-idea-plugin icon indicating copy to clipboard operation
spek-idea-plugin copied to clipboard

Unmocked Android JAR not used

Open ebrowne72 opened this issue 5 years ago • 1 comments

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 avatar May 17 '19 20:05 ebrowne72

Still have this issue with Android Studio 3.5.

ebrowne72 avatar Aug 20 '19 21:08 ebrowne72