Android Test Orchestrator not working with Android X

前端 未结 3 542
不思量自难忘°
不思量自难忘° 2021-02-13 09:21

I have recently migrated my project to use AndroidX, and have configured test orchestrator for my espresso tests on gradle using the following docs:

https://developer.an

3条回答
  •  梦谈多话
    2021-02-13 09:47

    Purely by guessing, I changed the following in my gradle config

    from:

      testOptions {
        execution 'ANDROID_TEST_ORCHESTRATOR'
      }
    

    to

      testOptions {
        execution 'ANDROIDX_TEST_ORCHESTRATOR'
      }
    

    and all seems to work.

提交回复
热议问题