4
deckrd-gradle 프로젝트로 작성했습니다. No signature of method: com.android.build.gradle.AppPlugin.getBootClasspath() is applicable for argument types:() values: []
Gradle (decard-gradle)로 테스트를 구축 할 수 없습니다
내 Gradle을 파일 :
(removed it because here wa everything OK)
테스트 클래스 :
@RunWith(RobolectricTestRunner.class)
public class MainActivityTest {
@Test
public void testSomething() throws Exception {
// given
Activity activity = Robolectric.buildActivity(MainActivity_.class).create().get();
// when
// then
assertThat(activity).isNotNull();
}
}
너무 감사 시작 –