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 (Build Windows Debug) failed Jan 21, 2026 in 10m 4s

Build Windows Debug 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 (Build Windows Debug)

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 (Build Windows Debug)

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 Windows Debug)

Build log #L9

Publishing build artifacts failed with an error: Not found PathtoPublish: D:\a\_work\1\s\artifacts\packages\Debug\Shipping

Check failure on line 9 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / microsoft.testfx (Build Windows Debug)

Build log #L9

Publishing build artifacts failed with an error: Not found PathtoPublish: D:\a\_work\1\s\artifacts\TestResults\Debug

Check failure on line 9 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / microsoft.testfx (Build Windows Debug)

Build log #L9

Publishing build artifacts failed with an error: Not found PathtoPublish: D:\a\_work\1\a\binlogs