How to view test case and source file mapping info in code coverage results of Azure Devops pipelines

Jeba 0 Reputation points Microsoft Vendor
2023-11-02T22:33:55.73+00:00

We want to view which source file/class is covered by which test case in the azure devops pipeline code coverage results.

Code Coverage report or logs shows how many lines are covered, not covered from the source file but it doesn't show which test case has tested the source file.

When Coverage tool runs on source it reads binaries of assembly and when program control passes through block of code it decides block is covered or not. We want to know block of code from binary or source file is tested by which test case.
Please help if anyone knows where and how test case and source file mapping info can be obtained from azure devops pipeline.

Not Monitored
Not Monitored
Tag not monitored by Microsoft.
42,098 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Anna Xiu-MSFT 30,916 Reputation points Microsoft Vendor
    2023-11-03T03:40:43.08+00:00

    Hi @Jeba, 

    Welcome to Microsoft Q&A! 

    Azure DevOps is currently not supported in the Microsoft Q&A forums, for the related questions about Azure DevOps, you can post it here: Azure DevOps of Developer Community.

    Thanks for your understanding! 

    Sincerely,

    Anna


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment". 
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

     

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.