我使用 assertj 做一些意式浓缩咖啡中不允许的断言,但我不明白这里的问题,我做了 这里所说的。
build.gradle
dependencies {
// Android Tests
androidTestCompile 'com.android.support.test.espresso:espresso-core:2.2.2'
androidTestCompile 'com.android.support.test:runner:0.5'
// RecyclerView support
androidTestCompile('com.android.support.test.espresso:espresso-contrib:2.2') {
// Necessary to avoid version conflicts
exclude group: 'com.android.support', module: 'appcompat'
exclude group: 'com.android.support', module: 'support-v4'
exclude group: 'com.android.support', module: 'support-annotations'
exclude module: 'recyclerview-v7'
}
androidTestCompile 'com.squareup.assertj:assertj-android:1.1.1'
androidTestCompile 'com.squareup.assertj:assertj-android-recyclerview-v7:1.1.1'...
有什么我想念的吗?