android test support flavors and build type variants?

杀马特。学长 韩版系。学妹 提交于 2019-12-01 20:32:44

You can create tests for specific flavors in src/androidTestFull and src/androidTestTrial. Any tests that are common to all flavors go in src/androidTest.

The instrumented tests in src/androidTest/ source set are shared by all build variants. When building a test APK for the "MyFlavor" variant of your app, Gradle combines both the src/androidTest/ and src/androidTestMyFlavor/ source sets.

Source

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!