Uploaded image for project: 'SonarQube'
  1. SonarQube
  2. SONAR-2501

Provide ability to record and display line coverage per test

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.8
    • Fix Version/s: 3.5
    • Component/s: Coverage & Tests
    • Labels:
      None

      Description

      I'm facing a problem regarding test coverage. I have a legacy project where the line coverage is 100%, what is very suspicious. The tests are mix of unit, component, integration and acceptance tests. I'd like to find out which tests are making the 100% coverage - and based on analysis split them out into categories. Moreover, I'd like to get rid of unit tests, what are covering too much lines.

      It would be a great feature to have capability to do such kind of analysis, e.g.:

      • how many lines covered by a test
      • how much would be the coverage if the particular test would run alone

      See http://markmail.org/thread/sgujhlvwucfq6ou2

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              julien.lancelot Julien Lancelot
              Reporter:
              mnyeste Mihály Nyeste
              Votes:
              6 Vote for this issue
              Watchers:
              6 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: