public static TestPlatform ToTestPlatform(this MacFlavors flavor) { return(flavor switch { MacFlavors.Console => TestPlatform.Mac, MacFlavors.Full => TestPlatform.Mac_Full, MacFlavors.Modern => TestPlatform.Mac_Modern, MacFlavors.System => TestPlatform.Mac_System, _ => throw new NotImplementedException(flavor.ToString()), });
public override string ToString() { return(base.ToString() + " (" + TargetFrameworkFlavors.ToString() + ")"); }