Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: fixed typo in itProjectPattern & testProjectPattern keys: "donet" -> "dotnet"

...

  • Unit / integration tests must be isolated from the main code base in dedicated Visual VisuitProjectPatternal Studio projects.
  • Test framework(s) must be compatible with Gallio.

...

The first and unique step is to tell SonarQube which projects are unit test projects. To do so, set the sonar.donetdotnet.visualstudio.testProjectPattern property.

Code Block
languagebash
# Semicolon-separated list of patterns to identify unit test projects
# Default value is *.Tests
sonar.donetdotnet.visualstudio.testProjectPattern=*.Tests;*.UnitTests

...

The first and unique step is to tell SonarQube which projects are integration test projects. To do so, set the sonar.donetdotnet.visualstudio.itProjectPattern property.

Code Block
languagebash
# Semicolon-separated list of patterns to identify integration test projects
sonar.donetdotnet.visualstudio.itProjectPattern=*.Integration.Tests;*.IntegrationTests

...