I am new to robotic testing. I am trying to complete this post for checking fragments. I use the following dependency
dependencies { compile fileTree(dir: 'libs', include: ['*.jar']) testCompile "org.robolectric:robolectric:3.0" testCompile 'junit:junit:4.12' compile 'com.android.support:appcompat-v7:22.2.0' compile 'com.google.code.gson:gson:2.3' compile 'com.android.support:support-v4:22.1.0' compile 'com.google.android.gms:play-services:7.5.0'
}
But this import gives me compilation problems, and I cannot resolve the SupportFragmentTestUtil character to start with. Please help me, what am I missing?
org.robolectric.shadows.support.v4.SupportFragmentTestUtil
source share