536cd135cc
Former-commit-id: 5624ac747d633e885131e8349322922b6a59baaa
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");
|
|
}
|
|
}
|
|
}
|