You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
sonar.issue.ignore.multicriteria = S2187,S3437,S4684,S5145,UndocumentedApi
# Rule https://rules.sonarsource.com/java/RSPEC-2187 is ignored, gatling tests are not supported by sonar
sonar.issue.ignore.multicriteria.S2187.resourceKey = src/test/java/gatling/**/*
sonar.issue.ignore.multicriteria.S2187.ruleKey = java:S2187
that rule is omitted for the Gatling package as it is not supported
Motivation for or Use Case
Avoid having code smells in that mapper test package
Achieve code coverage in mapper classes
If it is not considered a bug, perhaps these classes should contain a TODO comment and turn this issue into improvement
Overview of the issue
MapperTest classes do not contain test
An example of a MapperTest class generated by Jhipster:
The lack of tests in these classes causes blocking code smells:
https://rules.sonarsource.com/java/RSPEC-2187/
The sonar-project.properties file contains:
that rule is omitted for the Gatling package as it is not supported
Motivation for or Use Case
Avoid having code smells in that mapper test package
Achieve code coverage in mapper classes
If it is not considered a bug, perhaps these classes should contain a TODO comment and turn this issue into improvement
JHipster Version(s)
Jhipster 8.0.0
JHipster configuration
JDL definitions
The text was updated successfully, but these errors were encountered: