Describe the bug
We have been excluding generated function app (C#) code from the test coverage results successfully until the latest version 5.4.0 which states it actually fixes that but seems to break it.
To Reproduce
We call the report generator tool in a DevOps pipeline using the following script
- script: >-
reportgenerator
-reports:$(Agent.TempDirectory)/**/coverage.cobertura.xml
-targetdir:$(Build.SourcesDirectory)/coverlet/reports
-assemblyfilters:+*;-*.*.Tests
-filefilters:+*;-*.g.cs
-reporttypes:"Cobertura"
displayName: Generate Coverage Reports
The relevant part is the filefilters excluding "*.g.cs".
Since this morning the reported coverage in our pipelines dropped with about 7%.
Tested using version 5.3.11 explicitly (previous version) and the coverage went back to what it was yesterday (so +7%).
From the documentation I do not see a change in how I should pass in the excluded files with a wildcard, so this feels like a regression to me.
Describe the bug
We have been excluding generated function app (C#) code from the test coverage results successfully until the latest version 5.4.0 which states it actually fixes that but seems to break it.
To Reproduce
We call the report generator tool in a DevOps pipeline using the following script
The relevant part is the filefilters excluding "*.g.cs".
Since this morning the reported coverage in our pipelines dropped with about 7%.
Tested using version 5.3.11 explicitly (previous version) and the coverage went back to what it was yesterday (so +7%).
From the documentation I do not see a change in how I should pass in the excluded files with a wildcard, so this feels like a regression to me.