<PackageReference Include="NUnit" Version="3.0.0-beta-3" />

ParameterizedMethodSuite

ParameterizedMethodSuite holds a collection of individual TestMethods with their arguments applied.
using System.Reflection; namespace NUnit.Framework.Internal { public class ParameterizedMethodSuite : TestSuite { private bool _isTheory; public override string TestType { get { if (_isTheory) return "Theory"; if (base.Method.ContainsGenericParameters) return "GenericMethod"; return "ParameterizedMethod"; } } public ParameterizedMethodSuite(MethodInfo method) : base(method.ReflectedType.FullName, method.Name) { base.Method = method; _isTheory = method.IsDefined(typeof(TheoryAttribute), true); base.MaintainTestOrder = true; } } }