Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add common test usings to SonarLint.Test.props #5417

Conversation

georgii-borovinskikh-sonarsource
Copy link
Contributor

Fixes #5396

Copy link

sonarcloud bot commented May 8, 2024

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud

@pavel-mikula-sonarsource pavel-mikula-sonarsource linked an issue May 10, 2024 that may be closed by this pull request
Copy link
Contributor

@pavel-mikula-sonarsource pavel-mikula-sonarsource left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@@ -26,5 +26,12 @@
<PackageReference Include="FluentAssertions" Version="5.9.0" />
<PackageReference Include="FluentAssertions.Analyzers" Version="0.11.4" />
</ItemGroup>

<ItemGroup>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For the entire project (production + test code), we have also this:
https://github.com/SonarSource/sonar-dotnet/blob/3622c4a4126173fd74812d205e4e490fbddb548a/analyzers/Analyzers.targets#L16-L24

Can you add it too, maybe in a separate PR? All except the immutable collections seems relevant in SL project

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The least used is System.Diagnostics. The purpose of this one is to be able easily do Debugger.Break() or Debugger.Launch anywhere

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add common test usings to global usings
2 participants