Why is the Android test runner reporting “Empty test suite”?

前端 未结 30 2239
有刺的猬
有刺的猬 2020-11-28 07:59

I am banging my head against the wall here trying to figure out why IntelliJ/Android is reporting \"Empty test suite\". I have a small project with two IntelliJ Modules (\"

30条回答
  •  南笙
    南笙 (楼主)
    2020-11-28 08:32

    I had this problem because I had this in my build.gradle:

    testOptions {
        execution "ANDROID_TEST_ORCHESTRATOR"
    }
    

    Even though I wasn't using the Android Test Orchestrator (must have copyied from the tutorials by mistake).

    Commenting that out solved it for me.

提交回复
热议问题