parent
ef2dc5024f
commit
ed97d344c5
|
|
@ -49,7 +49,7 @@ namespace Microsoft.AspNetCore.Testing
|
|||
/// to <c>xunit.console.exe</c>. Similarly, it can run only flaky tests using <c>-trait "Flaky:AzP:OS:all=true" -trait "Flaky:AzP:OS:Darwin=true"</c>
|
||||
/// </para>
|
||||
/// </example>
|
||||
[TraitDiscoverer("Microsoft.AspNetCore.Testing." + nameof(FlakyTestDiscoverer), "Microsoft.AspNetCore.Testing")]
|
||||
[TraitDiscoverer("Microsoft.AspNetCore.Testing." + nameof(FlakyTraitDiscoverer), "Microsoft.AspNetCore.Testing")]
|
||||
[AttributeUsage(AttributeTargets.Method | AttributeTargets.Class | AttributeTargets.Assembly)]
|
||||
public sealed class FlakyAttribute : Attribute, ITraitAttribute
|
||||
{
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ using Xunit.Sdk;
|
|||
// Do not change this namespace without changing the usage in FlakyAttribute
|
||||
namespace Microsoft.AspNetCore.Testing
|
||||
{
|
||||
public class FlakyTestDiscoverer : ITraitDiscoverer
|
||||
public class FlakyTraitDiscoverer : ITraitDiscoverer
|
||||
{
|
||||
public IEnumerable<KeyValuePair<string, string>> GetTraits(IAttributeInfo traitAttribute)
|
||||
{
|
||||
Loading…
Reference in New Issue