ReportGenerator
ReportGenerator copied to clipboard
minimumCoverageThresholds:lineCoverage not working
Describe the bug
When executing reportgenerator with --minimumCoverageThresholds:lineCoverage=100on a cobertura report with line-rate="0.1433", the exit code is 0 a no error is reported.
--minimumCoverageThresholds:branchCoverage=100 and --minimumCoverageThresholds:methodCoverage=100 do report the coverage errors as expected
Settings-Description
To Reproduce
- Create a coverage.cobertura.xml report with line-rate below 1.0
- Execute
reportgenerator -reports:"**/TestResults/*/coverage.cobertura.xml" -reporttypes:Html --minimumCoverageThresholds:lineCoverage=100
Reportgenerator Version 5.2.1.0