SonarSource / sonar-dotnet

Code analyzer for C# and VB.NET projects
https://redirect.sonarsource.com/plugins/csharp.html
GNU Lesser General Public License v3.0
770 stars 226 forks source link

SQ Plugin: Remove deprecated import of integration test coverage from plugins #4685

Closed andrei-epure-sonarsource closed 1 month ago

andrei-epure-sonarsource commented 3 years ago

We should remove them because they have been deprecated since SonarQube 6.2!

    if (this.isIntegrationTest) {
      LOG.warn("Starting with SonarQube 6.2 separation between Unit Tests and Integration Tests Coverage" +
        " reports is deprecated. Please move all reports specified from *.it.reportPaths into *.reportPaths.");
    }

Repro steps:

  1. Open a project in SonarCloud/SonarQube
  2. Go to Administration -> General Settings -> Languages
  3. Choose C#

It shows for example image

However coverage for integration tests is deprecated.

The same, it shows NCover3 image

pavel-mikula-sonarsource commented 3 months ago

This should remove the properties that our plugins publish, and their processing.