view code coverage report on azure devops portal

后端 未结 2 1265
挽巷
挽巷 2020-12-05 05:08

I am running the NUnit tests (project in .Net Framework 4.5), as part of azure devops build pipeline.

- task: VSTest@2
  inputs:
    testAssemblyVer2: \'test         


        
2条回答
  •  南笙
    南笙 (楼主)
    2020-12-05 05:55

    You can use Publish Code Coverage Results task in azure devops pipeline to see code coverage result in Jacoco format.

    for further information about setup and configuration , please check the blog in MSDN

    https://docs.microsoft.com/hi-in/azure/devops/pipelines/tasks/test/publish-code-coverage-results?view=tfs-2015#q--a

    Hope it helps.

提交回复
热议问题