diff options
author | Alexander Köplinger <alex.koeplinger@outlook.com> | 2017-06-08 16:47:29 +0300 |
---|---|---|
committer | Alexander Köplinger <alex.koeplinger@outlook.com> | 2017-06-08 16:47:29 +0300 |
commit | d4433b0972f40cb3efaa3fbba52869bde5df8fa8 (patch) | |
tree | 0cdf31bf99ac3a0fa2e9ddf5ad910eca4aa9d6da /BenchmarkAttribute.cs | |
parent | b8e20d265b368dd6252703d5afd038d0b028e388 (diff) |
Add Xunit.NetCore.Extensions.dll
Diffstat (limited to 'BenchmarkAttribute.cs')
-rw-r--r-- | BenchmarkAttribute.cs | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/BenchmarkAttribute.cs b/BenchmarkAttribute.cs new file mode 100644 index 0000000..5697d10 --- /dev/null +++ b/BenchmarkAttribute.cs @@ -0,0 +1,13 @@ +using System; +using Xunit; +using Xunit.Sdk; + +namespace Microsoft.Xunit.Performance +{ + [TraitDiscoverer("Microsoft.Xunit.Performance.BenchmarkDiscoverer", "Xunit.NetCore.Extensions")] + [AttributeUsage(AttributeTargets.Method, AllowMultiple = false)] + public class BenchmarkAttribute : Attribute, ITraitAttribute + { + public long InnerIterationCount { get; set; } + } +} |