How to add test coverage task using Azure DevOps build pipeline

I would like to add a “Visual studio Test Platform installer” Azure DevOps pipeline task to our build pipeline. Plan to run all the unit tests and find out the test coverage.

Can I have a sample to convert *.coverage file to *.coveragexml file and how to assign the pull path to sonar.cs.vscoveragexml.reportsPaths.

Thanks for your help.

hello @sekhara.kothuri

Please read our guides: