admin管理员组

文章数量:1202351

I want to exclude some files and folder from test coverage. These files is not required for write unit test and also artifacts folder have some auto generated protob files hence I need to exclude them when execute dotnet test commant. I found below command is not working properly. Only one file can be exclude at a time other one skipped.

 dotnet test src /p:ExcludeByFile="**/Program.cs','**/artifacts/**/*"

本文标签: cExclude multiple files and folder from test coverageStack Overflow