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
Expected behavior
Any of the matching attributes are excluded from the coverage results.
Actual behavior
The exe fails returning Option '--exclude-by-attribute' expects a single argument but 3 were provided.
NOTE: running the same command on 6.0.0 succeeds
Configuration (please complete the following information):
Please provide more information on your .NET configuration:
* Which coverlet package and version was used?
6.0.1
* Which version of .NET is the code running on?
dotnet sdk 8.0.200
* What OS and version, and what distro if applicable?
Windows Server 2022
* What is the architecture (x64, x86, ARM, ARM64)?
x64
* Do you know whether it is specific to that configuration?
Does not appear to be - I can replicate on Linux x64
Additional context
(none)
The text was updated successfully, but these errors were encountered:
We changed the used cli framework for coverlet.console but tried not to make a breaking change. Unfortunately this slipped us. The linked PR will fix it. Thanks for reporting. 🙏
Describe the bug
Starting with 6.0.1, multiple
exclude-by-attribute
parameters results in an errorTo Reproduce
coverlet.exe $testFile --target "dotnet" --format "covertura" --exclude-by-attribute "Obsolete" --exclude-by-attribute "GeneratedCode" --exclude-by-attribute "CompilerGenerated"
Expected behavior
Any of the matching attributes are excluded from the coverage results.
Actual behavior
The exe fails returning
Option '--exclude-by-attribute' expects a single argument but 3 were provided.
NOTE: running the same command on 6.0.0 succeeds
Configuration (please complete the following information):
Please provide more information on your .NET configuration:
* Which coverlet package and version was used?
6.0.1
* Which version of .NET is the code running on?
dotnet sdk 8.0.200
* What OS and version, and what distro if applicable?
Windows Server 2022
* What is the architecture (x64, x86, ARM, ARM64)?
x64
* Do you know whether it is specific to that configuration?
Does not appear to be - I can replicate on Linux x64
Additional context
(none)
The text was updated successfully, but these errors were encountered: