|
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System;
using Xunit.Sdk;
namespace Xunit
{
[TraitDiscoverer("Microsoft.DotNet.XUnitExtensions.SkipOnCIDiscoverer", "Microsoft.DotNet.XUnitExtensions")]
[AttributeUsage(AttributeTargets.Method | AttributeTargets.Class | AttributeTargets.Assembly, AllowMultiple = false)]
public sealed class SkipOnCIAttribute : Attribute, ITraitAttribute
{
public string Reason { get; private set; }
public SkipOnCIAttribute(string reason)
{
Reason = reason;
}
}
}
|