Upcoming Webinar!
What's hiding in your code? Uncovering the state of code security - Register now!
Sonar Community
java:S106 Standard outputs should not be used directly to log anything - not reported in Test code
SonarQube Server / Community Build
sonarqube
,
java
reitzmichnicht
(Michael Düsterhus)
January 29, 2021, 9:16pm
2
Thats by design, rules are either for main code or for test code
2 Likes
show post in topic
Related topics
Topic
Replies
Views
Activity
Allow enabling sonar rules for test sources
Suggest new features
tests
,
rules
19
11126
August 27, 2025
When i analyzed my project by Sonarquebe , Sonar report showing code smell in test classes in java
SonarQube Server / Community Build
java
,
sonarqube
1
1294
September 13, 2022
Thousands of unwanted issues in test code after upgrading to SonarQube 10
SonarQube Server / Community Build
java
,
tests
,
unit-test
3
29
July 9, 2025
False positive in eclipse for S5960 - Remove this assertion from production code
Eclipse
java
,
eclipse
,
sonarqube-ide
9
6252
March 15, 2021
Some but not all rules are applied to test files in Java
IntelliJ Platform
1
314
August 10, 2023