How to make Sonarqube exclude a .NET (C#) project from coverage measures

前端 未结 6 1163
Happy的楠姐
Happy的楠姐 2021-02-05 14:07

Sonarqube allows for individual files to be excluded from code coverage by adding patterns in the sonar.coverage.exclusions key. This can be done on a project level by

6条回答
  •  囚心锁ツ
    2021-02-05 14:53

    This is an old question, but a more accurate answer is posted here: https://stackoverflow.com/a/49904805/987191

    Essentially, the code tab allows drilling down to settings for a project and we can use ** in administration (for the project) -> General Settings -> Analysis Scope -> Coverage exclusions

提交回复
热议问题