How can I get the code coverage for XUnit tests on the TFS for ASP.NET Core? I don't quite find any good information on the internet.
Any help?
How can I get the code coverage for XUnit tests on the TFS for ASP.NET Core? I don't quite find any good information on the internet.
Any help?
For now, the default code coverage option it's only support with VS test. To get this with XUnit tests, you may have to use 3-party tool to achieve it. Such as using OpenCover like comment suggested to generated a xml report file.
And then either publish the xml test result to server or using the customization of the build summary to display the report. Detail steps you can refer the answer of Robert K in this question Display OpenCover results in TFS 2015 build Summary