I have created some rules from templates (eg S3688 “Track uses of disallowed classes” or S2253 “Track uses of disallowed methods”). These templates are defined as “Analysis scope: main sources” and all rules created from them also seem to be the same so they are not running against test code.
Is it possible to create a rule from a template and for that rule to run against test sources?
I am using Sonarqube community 26.10.0.