Skip to content

Commit

Permalink
Disable MSTEST0015 in various profiles (#4784)
Browse files Browse the repository at this point in the history
  • Loading branch information
Evangelink authored Jan 26, 2025
1 parent b108ee0 commit df09cd4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@ MSTEST0038 | Usage | Warning | AvoidAssertAreSameWithValueTypesAnalyzer, [Docume
MSTEST0039 | Usage | Info | UseNewerAssertThrowsAnalyzer, [Documentation](https://learn.microsoft.com/dotnet/core/testing/mstest-analyzers/mstest0039)
MSTEST0040 | Usage | Warning | AvoidUsingAssertsInAsyncVoidContextAnalyzer, [Documentation](https://learn.microsoft.com/dotnet/core/testing/mstest-analyzers/mstest0040)
MSTEST0041 | Usage | Warning | UseConditionBaseWithTestClassAnalyzer, [Documentation](https://learn.microsoft.com/dotnet/core/testing/mstest-analyzers/mstest0041)
MSTEST0015 | Design | Disabled | TestMethodShouldNotBeIgnoredAnalyzer, [Documentation](https://learn.microsoft.com/dotnet/core/testing/mstest-analyzers/mstest0015)
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ public sealed class TestMethodShouldNotBeIgnoredAnalyzer : DiagnosticAnalyzer
Description,
Category.Design,
DiagnosticSeverity.Info,
isEnabledByDefault: true);
isEnabledByDefault: false,
disableInAllMode: true);

public override ImmutableArray<DiagnosticDescriptor> SupportedDiagnostics { get; }
= ImmutableArray.Create(TestMethodShouldNotBeIgnoredRule);
Expand Down

0 comments on commit df09cd4

Please sign in to comment.