当我使用参数vstest.console.exe vstest.console.exe App.Tests.dll / collect:“代码覆盖率” / Logger:html / EnableCodeCoverage App.dll运行vstest.console.exe时,它仅在生成的html。
是否还可以使用此工具生成线路覆盖率报告,或者我需要更多工具? 就像我在C#中搜索行覆盖率时一样,它带我到https://docs.microsoft.com/en-us/visualstudio/test/using-code-coverage-to-determine-how-much-code-is-being-tested?view=vs-2019,这是vstest.console.exe的建议,但它不会生成行覆盖率。