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
I have a Spek test running successfully with ./gradlew test, but it fails when running with the Spek Framework Android Studio plugin. For some reason the Spek plugin isn't picking up my override of android.util.Log (in src/test/java/android/util) so the default Log stub class is being loaded instead.
Stub!
java.lang.RuntimeException: Stub!
at android.util.Log.i(Log.java:33)
...
Is there a way to get the plugin to use the same classpath as tests run through ./gradlew test?
The text was updated successfully, but these errors were encountered:
I have a Spek test running successfully with
./gradlew test
, but it fails when running with the Spek Framework Android Studio plugin. For some reason the Spek plugin isn't picking up my override ofandroid.util.Log
(insrc/test/java/android/util
) so the default Log stub class is being loaded instead.Is there a way to get the plugin to use the same classpath as tests run through
./gradlew test
?The text was updated successfully, but these errors were encountered: