Android Gradle Running Tests on Non-Debug Builds

前端 未结 3 1896
野趣味
野趣味 2020-12-29 05:09

I have a project with three different build types: debug, beta, and release. My test package is always created for debug builds, but QA uses the beta build and we want QA to

3条回答
  •  青春惊慌失措
    2020-12-29 06:06

    You can now point this to a different target, I don't know when this happened, but from the docs:

    Currently only one Build Type is tested. By default it is the debug Build Type, but this can be reconfigured with:

    android {
        ...
        testBuildType "staging" 
    }
    

提交回复
热议问题