Welcome to mirror list, hosted at ThFree Co, Russian Federation.

BenchmarkDiscover.cs - github.com/mono/xunit-binaries.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 40d2d8a8c169062e665eaca74cd3d7be509da9c1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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");
        }
    }
}