microsoft / microsoft/codecoverage

Which test hits which line

Open
#114 1 comment 0 reactions 1 assignee View on GitHub

@jakubch1 is already working on this.

Since Apr 9, 2024.

enhancement
Dominant language
C#
Stars
125
Forks
17
Avg merge
1h 17m
Merged PRs (30d)
2

Description

I'm not sure if this is the right place, but I'm looking for something like nebulab/reverse_coverage.

I need to know which tests hit a specific line.

My real life use case

I'm reading a large enterprise codebase with a lot of complex logic and a huge number of BDD tests. I stumble upon a mind-boggling piece of code which I don't know which business scenarios it is used for. I need to find a list of BDD tests that run through this code.

Running all tests in debug mode and put a breakpoint at the code may work. However, I need to do this multiple times, and I cannot re-run the whole test suite every time.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.