15 lines
383 B
C#
15 lines
383 B
C#
|
using System.Collections.Generic;
|
||
|
using Xunit.Sdk;
|
||
|
using Xunit.Abstractions;
|
||
|
|
||
|
namespace Xunit.NetCore.Extensions
|
||
|
{
|
||
|
public class BenchmarkDiscoverer : ITraitDiscoverer
|
||
|
{
|
||
|
public IEnumerable<KeyValuePair<string, string>> GetTraits(IAttributeInfo traitAttribute)
|
||
|
{
|
||
|
yield return new KeyValuePair<string, string>("Benchmark", "True");
|
||
|
}
|
||
|
}
|
||
|
}
|