using the top level debug unit test task when executing tests for coverage to avoid needing to specify every module
This commit is contained in:
parent
e9e29603de
commit
68da403f2f
|
@ -81,7 +81,7 @@ task generateCoverageReport(type: JacocoReport) {
|
||||||
task unitTestsWithCoverage(type: GradleBuild) {
|
task unitTestsWithCoverage(type: GradleBuild) {
|
||||||
// the 7.1.3 android gradle plugin has a bug where enableTestCoverage generates invalid coverage
|
// the 7.1.3 android gradle plugin has a bug where enableTestCoverage generates invalid coverage
|
||||||
startParameter.projectProperties.coverage = [enableTestCoverage: false]
|
startParameter.projectProperties.coverage = [enableTestCoverage: false]
|
||||||
tasks = [':vector:testGplayDebugUnitTest', ':matrix-sdk-android:testDebugUnitTest']
|
tasks = ['testDebugUnitTest']
|
||||||
}
|
}
|
||||||
|
|
||||||
task instrumentationTestsWithCoverage(type: GradleBuild) {
|
task instrumentationTestsWithCoverage(type: GradleBuild) {
|
||||||
|
|
Loading…
Reference in New Issue