Migrate to xUnit 3 #2061
Annotations
11 warnings
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Unit tests:
test/LeanCode.Test.Helpers/IntegrationFactAttribute.cs#L7
Avoid unsealed attributes (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1813)
|
Unit tests:
test/LeanCode.Test.Helpers/ExternalServiceFactAttribute.cs#L8
Abstract type 'ExternalServiceFactAttribute' should not have public constructors (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1012)
|
Unit tests:
test/LeanCode.Test.Helpers/LongRunningFact.cs#L15
Remove the underscores from member name LeanCode.Test.Helpers.LongRunningFactTest.Long_running_test() (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1707)
|
Unit tests:
src/Tools/LeanCode.CodeAnalysis/CodeActions/Helpers.cs#L25
Dereference of a possibly null reference.
|
Unit tests:
src/Tools/LeanCode.CodeAnalysis/CodeActions/Helpers.cs#L35
Dereference of a possibly null reference.
|
Unit tests:
src/Tools/LeanCode.CodeAnalysis/Analyzers/SuggestCommandsHaveValidators.cs#L30
In externally visible method 'void SuggestCommandsHaveValidators.Initialize(AnalysisContext context)', validate parameter 'context' is non-null before using it. If appropriate, throw an 'ArgumentNullException' when the argument is 'null'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1062)
|
Unit tests:
src/Tools/LeanCode.CodeAnalysis/Analyzers/CancellationTokensShouldFollowNamingConvention.cs#L29
In externally visible method 'void CancellationTokensShouldFollowNamingConvention.Initialize(AnalysisContext context)', validate parameter 'context' is non-null before using it. If appropriate, throw an 'ArgumentNullException' when the argument is 'null'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1062)
|
Unit tests:
src/Tools/LeanCode.CodeAnalysis/CodeActions/Helpers.cs#L23
In externally visible method 'void Helpers.InsertNamespaceDirective(DocumentEditor editor, SyntaxNode root, string namespaceName)', validate parameter 'root' is non-null before using it. If appropriate, throw an 'ArgumentNullException' when the argument is 'null'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1062)
|
Unit tests:
src/Tools/LeanCode.CodeAnalysis/CodeActions/Helpers.cs#L30
In externally visible method 'void Helpers.InsertNamespaceDirective(DocumentEditor editor, SyntaxNode root, string namespaceName)', validate parameter 'editor' is non-null before using it. If appropriate, throw an 'ArgumentNullException' when the argument is 'null'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1062)
|
Unit tests:
src/Tools/LeanCode.CodeAnalysis/CodeActions/FixCQRSHandlerNamingCodeAction.cs#L28
Consider calling ConfigureAwait on the awaited task (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2007)
|
Loading