<PackageReference Include="NUnit" Version="4.3.0" />

TestCaseAttribute<T1, T2, T3, T4>

public class TestCaseAttribute<T1, T2, T3, T4> : TestCaseAttribute
Marks a method as a parameterized test suite and provides arguments for each test case.
using System; using System.Runtime.CompilerServices; namespace NUnit.Framework { [NullableContext(2)] [Nullable(0)] [AttributeUsage(AttributeTargets.Method, AllowMultiple = true, Inherited = false)] public class TestCaseAttribute<T1, T2, T3, T4> : TestCaseAttribute { [NullableContext(1)] public TestCaseAttribute(T1 argument1, T2 argument2, T3 argument3, T4 argument4) : base(argument1, argument2, argument3, argument4) { base.TypeArgs = new Type[4] { typeof(T1), typeof(T2), typeof(T3), typeof(T4) }; } } }