You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are using the forceZeroCoverage together with Unit Tests. Setting forceZeroCoverage=true will force currently all coverage results to be zero. We do not use Integration Tests at the moment and as a result we see a red line in the source code viewer for Integration Test results. This is very confusing for the users.
Idea is to make this setting adjustable for which coverage it is valid. Should depend in future which key (sonar.cxx.coverage.reportPath, sonar.cxx.coverage.itReportPath, sonar.cxx.coverage.overallReportPath) is defined in the sonar-project.properties file.
Example 1: Force forceZeroCoverage for Unit Tests only (other keys are not defined)
We are using the
forceZeroCoverage
together with Unit Tests. SettingforceZeroCoverage=true
will force currently all coverage results to be zero. We do not use Integration Tests at the moment and as a result we see a red line in the source code viewer for Integration Test results. This is very confusing for the users.Idea is to make this setting adjustable for which coverage it is valid. Should depend in future which key (
sonar.cxx.coverage.reportPath, sonar.cxx.coverage.itReportPath, sonar.cxx.coverage.overallReportPath
) is defined in thesonar-project.properties
file.Example 1: Force forceZeroCoverage for Unit Tests only (other keys are not defined)
Example 2: Force forceZeroCoverage for Unit Tests and Integration Tests
The text was updated successfully, but these errors were encountered: