Filter to show issues covered by unit tests

sonarqube

(Paul mead) #1

It would be great if it were possible to use a filter in the UI to show only the issues that are covered by existing unit tests.

That way a team can quickly identify the issues that they can fix and test immediately, without having to first go through the issues and then see if the lines affected have unit test coverage by running tests locally with coverage enabled or clicking through the issue in the web UI to see the code affected, check if it is covered and then switching back to their IDE to work on the issue.

Having this feature as a check box in SonarLint would also be a great improvement for the same reason.

All issues are important of course, but IMHO enabling a team to deal with the low hanging fruit first, and faster will help teams to deal with their issues backlog more effectively.