Hi, we started using SonarCloud for our project written in Python.
The folder structure is:
project/ | |--code/ |--static/ |--templates/ |--tests/ |--sonar-project.properties ...
We set the config as:
sonar.sources=. sonar.exclusions=tests/ sonar.tests=. sonar.test.inclusions=tests/
to classify the tests folder, as we read it’s a good practice and it should lower the lines of code billed.
However, how can we check that the tests folder is indeed correctly classified? When we go to the dashboard of the project → tab “Code” it seems as if the tests folder is still counted as a normal source folder: