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).
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).