Hi,
If the test is using a helper method to assert, not located in the same file, the analyzer will not understand it and report a FP. In SonarQube/SonarCloud, it is possible to tune the rule in the quality profile to consider method performSuccessfulRequest
as an assertion.
SonarLint doesn’t support rules parameter when not using connected mode. So today options are:
- disable the rule
- use connected mode to benefit from rule parameter
I created a ticket, but this is low priority:
https://jira.sonarsource.com/browse/SLI-387