SonarQube is a great tool to see the code coverage on new code. Let assume we're working on a project which has the legacy code. (Unit tests were done with C# and NUnit)
How can the developers determine how many percentage of the code coverage on new code from the development machine. So that they can add enough unit tests sooner than receiving the report from the SonarQube.
Here is an example: - Developers are writing code on their development machines, they are working on different code branches but should be ensure that the new code that they have added was covered 80% unit test (we don't care the legacy code but we care the new code) - SonarQube runs every single day along with the CI tool to analyze the code in the "Develop" branch and reproduces the code coverage on new code (in the report). But developers can't see that information until the CI gets run. - We want some tools (or solution), so that developers can see the code coverage on new code directly in Visual Studio, or at least from the development machine, so they will know that they didn't have enough unit tests for the code that they have written, they must add more unit tests before checking the code to the source control.