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
Add common test usings to SonarLint.Test.props #5417
Conversation
Quality Gate passedIssues Measures |
There was a problem hiding this 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> |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
0f2727c
into
feature/hardening-may-2024
Fixes #5396