我正在使用 Java.Sonar 服务器,sonar-runner 对我来说工作正常。
这是我的sonar-project.properties
文件。
# Root project information
sonar.projectKey=Sonar:ProjectKey
sonar.projectName=ProjectName
sonar.projectVersion=1.0-SNAPSHOT
# Some properties that will be inherited by the modules
sonar.sources=/root/helios/ProjectName/src
# Redefine properties
# Note that you do not need to prefix the property here
#sonar.projectName=Module 2
# Comma-separated paths to test source directories (optional)
sonar.tests=/root/helios/ProjectName/test
#The value of the property must be the key of the language.
sonar.language=java
当我运行声纳服务器时,http://localhost:9000/
它显示源目录下的类,但它没有显示测试目录下的类。
请指导我,如何解决这个问题。