-
Notifications
You must be signed in to change notification settings - Fork 136
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Apply fb-contrib rules to Unit Tests #18
Comments
I don't see how this is can be done. 🤔 We are using @ganncamp Maybe I am missing something? |
@h3xstream I have no memory of this 😀 However I do know that the SonarJava analyzer makes a distinction between which rules are applied to source files and which to test files. I can't tell you off-hand how, but I'm sure you could that that info on the Google Group. |
Thanks, @ganncamp for the response. I was unsure if sonar-java was getting only the test sources files or also at the binaries. |
This should be fixed in version 4.2.3 (just released) |
In fact since Sonar 3.1 SONAR-1076, everything is in place to be able to report and display a violation on a unit test source file. But it's still the responsibility of each rule engine to decide which rule must be applied to a unit test source file or not.
The text was updated successfully, but these errors were encountered: