Must-share information (formatted with Markdown):
-
which versions are you using (SonarQube, Scanner, Plugin, and any relevant extension)
SonarQube Enterprise Version 10.0 (build 68432) -
how is SonarQube deployed: zip, Docker, Helm
Helm -
what are you trying to achieve
Investigate / correct code smell of type external_roslyn:xUnit1033
Test class ‘DatabaseTestWithDatabaseFixture’ does not contain constructor argument of type ‘DbFixture’. Add a constructor argument to consume the fixture data.
ROSLYN
- what have you tried so far to achieve this
Our class always had the fixture as constructor argument, together with another constructor argument.
SonarQube shows us a few code smells of this type, with a link to the code smell documentation.
Click on the link of the code smell, it shows an empty screen. The code smell documentation cannot be found in SonarQube website.
The [external_roslyn:xUnit1033] code smell is buggy, as it does not detect our DbFixture argument.
Also, we cannot disable this code smell, because it cannot be found in the rules list.