<PackageReference Include="NUnit" Version="4.3.1" />

NetPlatformAttribute

Marks an assembly, test fixture or test method as applying to a specific platform.

Constructor with no platforms specified, for use with named property syntax.

public NetPlatformAttribute(string platforms)

Constructor taking one or more platforms

public void ApplyToTest(Test test)

Causes a test to be skipped if this NewPlatformAttribute is not satisfied.