【发布时间】:2015-09-16 05:21:15
【问题描述】:
我的依赖:
androidTestCompile 'com.android.support.test:runner:0.3'
androidTestCompile 'com.android.support.test:rules:0.3'
androidTestCompile 'com.android.support:support-annotations:23.0.1'
androidTestCompile 'com.android.support.test.espresso:espresso-core:2.2'
androidTestCompile('com.android.support.test.espresso:espresso-contrib:2.2') {
exclude group: 'com.android.support', module: 'appcompat'
exclude group: 'com.android.support', module: 'support-v4'
exclude module: 'recyclerview-v7'
}
androidTestCompile 'junit:junit:4.12'
我找不到一种方法来模拟在 AlertDialog 窗口之外单击以在它关闭时检查某些内容...
我该怎么做?
【问题讨论】:
-
你是怎么解决这个问题的?
-
@Rakesh 没有解决:(
标签: android testing integration-testing android-espresso