public void BeforeTest(ITest testDetails) { if (ScriptingEnvironment.IsRunningOnMono() && (ScriptingEnvironment.GetMonoVersion() < new Version(major, minor, build))) { Assert.Ignore($"Requires Mono {major}.{minor}.{build} or above"); } }
public void BeforeTest(TestDetails testDetails) { if (ScriptingEnvironment.IsRunningOnMono() && (ScriptingEnvironment.GetMonoVersion() < new Version(4, 0, 0))) { Assert.Ignore("Requires Mono 4"); } }