public void BeforeTest([NotNull] ITest test)
{
var osEnvVar = Environment.GetEnvironmentVariable("OS");
if (osEnvVar == null || osEnvVar != "Windows_NT")
{
var msg = "Ignored on Linux";
if (_ignoreText != null)
msg += ": " + _ignoreText;
Assert.Ignore(msg);
}
}