Details
-
Type:
New Feature
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 2.8
-
Fix Version/s: 3.5
-
Component/s: Code Coverage, Unit Test
-
Labels:None
-
Number of attachments :
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
Issue Links
- depends upon
-
SONAR-4087
Java API to handle tests
-
- is related to
-
SONARJAVA-94
Provide JUnit Listener to record coverage per test
-
-
SONARJAVA-95
Provide TestNG Listener to record coverage per test
-
I would love to see this added as well.