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

ITestCaseData

public interface ITestCaseData : ITestData
The ITestCaseData interface is implemented by a class that is able to return complete test cases for use by a parameterized test method.
using System.Runtime.CompilerServices; namespace NUnit.Framework.Interfaces { [System.Runtime.CompilerServices.NullableContext(2)] public interface ITestCaseData : ITestData { object ExpectedResult { get; } bool HasExpectedResult { get; } } }