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

Android Studio 2.1: Error: Package Org.junit Does Not Exist

Update: Its a bug and it's been reported, please star: https://code.google.com/p/android/issues… Read more Android Studio 2.1: Error: Package Org.junit Does Not Exist

Junit Testing In Android - Dialogfragment

I have a button in a FragmentActivity which, when pressed should open a DialogFragment. I want to t… Read more Junit Testing In Android - Dialogfragment

Set Parameters Of Android.location.location Object From Junit Unit Test

I'm trying to make unit test for a function which receive android.location.Location object. But… Read more Set Parameters Of Android.location.location Object From Junit Unit Test

Jacoco Is Reporting 0 Coverage Of Kotlin Classes By Unit Tests, In An Android Project

I'm using Android Gradle Plugin 3.0.0. I'm migrating an Android app from java to kotlin. My… Read more Jacoco Is Reporting 0 Coverage Of Kotlin Classes By Unit Tests, In An Android Project

Loading A Native Library In An Android Junit Test

I've generated a native library using ndk-build which I'm able to load and use with in my A… Read more Loading A Native Library In An Android Junit Test

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

Robotium Assertion Failing

When I run a test with Robotium, I use an assertion to verify that there is specific text on the pa… Read more Robotium Assertion Failing

Junit/espresso: "empty Test Suite"

Far too often in Android Studio I run into this problem: I can run the entire suite of UI Tests jus… Read more Junit/espresso: "empty Test Suite"