Open stoberman37 opened 3 years ago
Interesting idea. I've never used those parameters, can you give me a copy of how your command looks and I'll think about how it might be done?
I also have the same issue using msbuild here I give example of command for commandline. dotnet test test.csproj --results-directory TestResults --filter "TestCategory=Category1" --logger trx;LogFileName=TestResults.trx /p:CollectCoverage=true /p:CoverletOutput=../../TestResults/coverage /p:CoverletOutputFormat=cobertura /p:Exclude=\"[Test],[Test2]\"
So how to pass the extra parameter when we run code coverage by VS extension Run Coverlet Report
Our build process has a number of additional parameters we pass to Coverlet when we run - things like ExcludeByAttribute, SkipAutoProps, etc. It would be great if there was a way to pass those in as well, so our local runs are closer to the build process.