namespace ZB.MOM.WW.MxGateway.IntegrationTests; /// Marks an xUnit test as requiring installed MXAccess COM and live provider state. public sealed class LiveMxAccessFactAttribute : FactAttribute { /// Initializes the attribute, skipping the test unless the integration test environment variable is set. public LiveMxAccessFactAttribute() { if (!IntegrationTestEnvironment.LiveMxAccessTestsEnabled) { Skip = $"Set {IntegrationTestEnvironment.LiveMxAccessVariableName}=1 to run live MXAccess tests."; } } }