如何解决Gradle:没有找到 Kotlin 的测试黄瓜 + 浓缩咖啡
com.android.build.gradle.internal.testing.ConnectedDevice > 未找到测试。[Nexus_6P_API_30(AVD) - 11] 失败 没有发现测试。这通常意味着您的测试类不是您的测试运行器所期望的形式(例如,不要从 TestCase 继承或缺少 @Test 注释)。
使用的依赖项: //黄瓜的依赖
androidTestUtil 'androidx.test:orchestrator:1.1.0'
androidTestImplementation 'com.android.support.test:runner:1.0.2'
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
androidTestImplementation'com.android.support.test.espresso:espresso-intents:3.0.2'
androidTestImplementation 'info.cukes:cucumber-android:1.2.5'
androidTestImplementation 'info.cukes:cucumber-picocontainer:1.2.5'
Runner used:
@RunWith(AndroidJUnit4::class)
@CucumberOptions(features = ["features"],glue = ["com.vauto.vadroid.BddTest.StepDefination"],tags = [ "@smoke"])
@Suppress("unused")
class CucumberTestCase
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。