For my app, on CI we run tests using an adb cli wrapper. We do not use gradle. I am able to generate the reports by updating by build.gradle file and running unit tests or connectedCheck for Android tests. Is there a way to achieve what the below gradle setting does through adb arguments
android {
testOptions {
unitTests.all {
jacoco {
includeNoLocationClasses = true
}
}
unitTests.returnDefaultValues = true
}
buildTypes {
debug {
testCoverageEnabled true
}
}
}