Skip to content Skip to sidebar Skip to footer
Showing posts with the label Robolectric

Is It Possible To Test An Abstract Activity With Robolectric

I use abstract activity classes in my code to well, abstract away some features from the activity c… Read more Is It Possible To Test An Abstract Activity With Robolectric

Android Instrumentation Test Java.lang.unsatisfiedlinkerror On Using Androidjunitrunner And Androidjunit4

I am using robolectric in our unit tests. Recently in our project, we are adding a new dependency f… Read more Android Instrumentation Test Java.lang.unsatisfiedlinkerror On Using Androidjunitrunner And Androidjunit4

Robolectric Issue With Progressbar

I keep getting a RuntimeException from Robolectric when it tries to invoke an onCreate for an activ… Read more Robolectric Issue With Progressbar

Jacoco Doesn't Work With Robolectric Tests

I wanted to generate code coverage reports on my JUnit tests in my android project so I added the J… Read more Jacoco Doesn't Work With Robolectric Tests

How To Add Java 9 To Android Studio?

I am using Robolectric library and the latest version of it v4.3.1 requires Java 9 to run. I am try… Read more How To Add Java 9 To Android Studio?

How To Mock Dagger Activity Object Graphs?

I'm using Dagger in an android app to provide application and activity scope graphs. And I'… Read more How To Mock Dagger Activity Object Graphs?