-
Notifications
You must be signed in to change notification settings - Fork 391
Description
Hi All,
I developed sample Dot Net Core project with 3 UI Tests.
Installed the dotnet tool install --global coverlet.console
Check the Microsoft.NET.Test.Sdk which is 17.2.0
I am trying to generate the coverage file locally first. Ran the below command
dotnet test --collect:"XPlat Code Coverage"
Code coverage file got generated at "*\TestsDotNetCore\TestResults\589ed878-3fe6-4b0e-893a-594a5bf32a53" location
when I open the file getting "No data XML"
===================================================================================
But If I run the same tests using Visual Studio -> Test -> Analyze Code Coverage for all the tests I am getting coverage data.
I went through the below link didn't get where I am going wrong. Can any one please help me
https://github.com/coverlet-coverage/coverlet/blob/master/Documentation/VSTestIntegration.md
Context:
OS: Windows 10 64 bit,
Coverlet Collector: 3.1.2,
MsTest: 2.2.10,


