SonarCloud includes NUnit.Framework in test coverage but not Microsoft.VisualStudio.TestTools.UnitTesting.
I have reviewed the settings in Azure Pipelines and found that Visual Studio Test is included. Code coverage enabled is checked, and so is Upload test attachments. I notice that when I manually run coverage from Visual Studio Enterprise Edition, that it shows a higher coverage result than Sonar Cloud does.
@mickaelcaro Do you have any suggestions of what I should look at next? PR’s with Microsoft.VisualStudio.TestTools.UnitTesting tests shown 0 test coverage. PR’s with nUnit test show the correct coverage.
Does this mean that we need to have everyone use Nunit or MS test because if some use MS Test and some use nunit then we cannot get the sum both? right?