Skip to content

TestMethodForPlatformAttribute can be replaced with [OSCondition(OperatingSystems.Windows)] #1763

@stan-sz

Description

@stan-sz

According to https://learn.microsoft.com/dotnet/core/testing/mstest-analyzers/mstest0061 the

public sealed class TestMethodForPlatformAttribute : TestMethodAttribute

can be replaced with e.g.:

[TestMethod]
[OSCondition(OperatingSystems.Windows)]

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions