Skip to content Skip to sidebar Skip to footer

Sonarqube Custom Rules Java Example

Adding SonarQube coding rules using Java for the Test Automation Suite

Adding Custom Coding Rules

Adding coding rules using Java

Writing coding rules using Java

          RulesList        
          MyJavaRulesPlugin        
          MyJavaRulesDefinition        

Writing a custom rule to verify whether the test method name is starting with the "test" or "verify" prefix.

Sample Custom Rule

TestMethodNames_java.html

TestMethodNames_java.json

TestClass

TestMethodsNamesCheck.java

robertsbatione85.blogspot.com

Source: https://dilumpathi.medium.com/adding-sonarqube-coding-rules-using-java-for-the-test-automation-suite-c4083405278a

Post a Comment for "Sonarqube Custom Rules Java Example"