You can test only one type of assembly right now (although this may change).
To set the type of assembly to test:
android { testBuildType "release" }
You can install this dynamically through env var so that there is no need to constantly edit build.gradle.
Xavier ducrohet
source share