Search code examples
rubycode-coveragercov

In rcov, is there a way to find which test method traversed a given line of code being tested?


In rcov, is there a way to find which test methods were tracked as having covered a given line of code (in your target code that you're testing)?


Solution

  • i'm pretty sure, that rcov doesn't support this feature.

    Since the documentation for the CoverageInfo Class suggests, that rcov only tracks if a given linen was executed, not in what context.