Skip to content

Instantly share code, notes, and snippets.

@EgorBo
Created September 21, 2017 15:35
Show Gist options
  • Save EgorBo/56c89420d29efacb330a7d14779cd4ce to your computer and use it in GitHub Desktop.
Save EgorBo/56c89420d29efacb330a7d14779cd4ce to your computer and use it in GitHub Desktop.
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Linq;
using Xunit;
namespace MegaTests
{
public class SuperTests
{
[Fact]
[SkipOnTargetFramework(TargetFrameworkMonikers.Netcoreapp)]
public void Test1()
{
throw new Exception("should be ran on mono");
}
[Fact]
[SkipOnTargetFramework(TargetFrameworkMonikers.NetFramework)]
public void Test2()
{
throw new Exception("should be skpped on mono");
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment