I have a bunch of unit tests in my visual studio project and code coverage coloring shows the covered lines of code in blue. Is it possible to jump to the unit test(s) that covers that line of code?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
No. Several unit tests may cover the same line, so it’s not a 1-1 relationship.
Your best bet is to stick a breakpoint on the line and run the tests and look at the call stack when the break point is hit.