I am trying to setup code coverage on Azure Piplelines.
I enabled it in the YAML file and can see that the .coverage file is created but it doesn't show the details in the CodeCoverage tab in Azure DevOps.
I believe it needs an html file to be generated. My project is in C#.
My yaml file has the following test tasks.
- task: VSBuild@1
inputs:
solution: '$(solution)'
platform: '$(buildPlatform)'
configuration: '$(buildConfiguration)'
- task: VSTest@2
inputs:
platform: '$(buildPlatform)'
configuration: '$(buildConfiguration)'
codeCoverageEnabled: true
runSettingsFile: 'src/ProjectName.runsettings'
Can someone provide some guidance?
