0

com.android.build.gradle.internal.testing.ConnectedDevice > 未找到测试。[Nexus_6P_API_30(AVD) - 11] FAILED 未找到测试。这通常意味着您的测试类不是您的测试运行程序所期望的形式(例如,不要从 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
4

0 回答 0