-
Notifications
You must be signed in to change notification settings - Fork 18
Description
I'm using Microsoft.CodeCoverage 17.14.1 and running the tests on Azure DevOps pipeline using the VSTest@2 task.
The CodeCoverage report is getting generated, and assemblies with the respective PDB's are present in the same directory.
The Target platform of test projects is .NET Framework v481, and tests are written in C# and have DLLs as test assemblies.
I've not added the reference of the Microsoft.NET.Test.Sdk to the test projects and haven't added the props and targets of the same.
The report says 0 lines covered out of n number of coverable lines.
Is it required to add the Microsoft.NET.Test.Sdk reference to my test projects to get the code coverage stuff working?
Is Microsoft.CodeCoverage 17.14.1 capable of covering the C# test assemblies' code coverage?
Does it need to have all PDB files on which test assemblies have references?, I mean the projects on which tests are being performed using test projects?