Thanks for raising the issue. There is indeed some inconsistency between the documentation and the implementation.
While we discuss if the rule should be raising issues on test code, I have created a ticket to make sure the documentation is consistent.
Hi @joviegas ,
Just to be clear, the rule has not been updated.
The ticket mentioned above only updated our documentation to resolve the ambiguity. This documentation update should already be available on SonarCloud.