public PlatformFactAttribute(Platforms platforms) { if (!XunitHelpers.IsSupportedPlatform(platforms)) { Skip = "Test not supported on this platform."; } }
public SkippablePlatformTheoryAttribute(Platforms platforms) { Xunit.Skip.IfNot( XunitHelpers.IsSupportedPlatform(platforms), "Test not supported on this platform." ); }