Template for a good new topic, formatted with Markdown:
- ALM used Azure DevOps
- CI system used Azure DevOps
- Languages of the repository JS
After setting up test- and source-scope my test source files no longer show up in the code-tab of the analysis. As I found no further information on how test code is handled I wonder if my configuration for the scopes is correct? Here are my settings regarding scopes:
sonar.sources = /
sonar.tests = /
# Include test subdirectories in test scope
sonar.test.inclusions = tests/**/*
# Exclude test subdirectories from source scope
sonar.exclusions = tests/**/*
I also like to know which rules exactly are applied to test code and if there is a way to configure the rules applied to test code?
Thank you!