RunCoverletReport icon indicating copy to clipboard operation
RunCoverletReport copied to clipboard

Additional coverlet parameters

Open stoberman37 opened this issue 4 years ago • 2 comments

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.

stoberman37 avatar Mar 18 '21 15:03 stoberman37

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?

the-dext avatar Mar 19 '21 17:03 the-dext

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

HT2207 avatar Apr 07 '21 09:04 HT2207