using System;
using NUnit.Framework;

namespace NcProgramManager.Tests.Integration
{
    internal static class HardwareTestHelper
    {
        internal static string GetIpOrSkip(string envVarName)
        {
            string ip = Environment.GetEnvironmentVariable(envVarName);
            if (string.IsNullOrEmpty(ip))
                Assert.Ignore("Hardware test skipped: " + envVarName + " not set.");
            return ip;
        }
    }
}
