Skip to content

Address review comment

8fd8816
Select commit
Loading
Failed to load commit list.
Open

Rework MSTEST0016 message and description #7258

Address review comment
8fd8816
Select commit
Loading
Failed to load commit list.
Azure Pipelines / microsoft.testfx failed Jan 21, 2026 in 16m 55s

Build #20260121.7 failed

Annotations

Check failure on line 36 in src/Analyzers/MSTest.Analyzers/TestClassShouldHaveTestMethodAnalyzer.cs

See this annotation in the file changed.

@azure-pipelines azure-pipelines / microsoft.testfx

src/Analyzers/MSTest.Analyzers/TestClassShouldHaveTestMethodAnalyzer.cs#L36

src/Analyzers/MSTest.Analyzers/TestClassShouldHaveTestMethodAnalyzer.cs(36,49): error CA1707: (NETCORE_ENGINEERING_TELEMETRY=Build) Remove the underscores from member name MSTest.Analyzers.TestClassShouldHaveTestMethodAnalyzer.TestClassShouldHaveTestMethodRule_BaseClassHasAssemblyAttributes (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1707)

Check failure on line 36 in src/Analyzers/MSTest.Analyzers/TestClassShouldHaveTestMethodAnalyzer.cs

See this annotation in the file changed.

@azure-pipelines azure-pipelines / microsoft.testfx

src/Analyzers/MSTest.Analyzers/TestClassShouldHaveTestMethodAnalyzer.cs#L36

src/Analyzers/MSTest.Analyzers/TestClassShouldHaveTestMethodAnalyzer.cs(36,49): error SA1310: (NETCORE_ENGINEERING_TELEMETRY=Build) Field 'TestClassShouldHaveTestMethodRule_BaseClassHasAssemblyAttributes' should not contain an underscore (https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1310.md)

Check failure on line 9 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / microsoft.testfx

Build log #L9

Publishing build artifacts failed with an error: Not found PathtoPublish: /mnt/vss/_work/1/s/artifacts/packages/Release/Shipping

Check failure on line 9 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / microsoft.testfx

Build log #L9

Publishing build artifacts failed with an error: Not found PathtoPublish: /mnt/vss/_work/1/s/artifacts/TestResults/Release