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

ITest

public interface ITest : IXmlNodeBuilder
Common interface supported by all representations of a test. Only includes informational fields. The Run method is specifically excluded to allow for data-only representations of a test.
using System.Collections.Generic; using System.Runtime.CompilerServices; namespace NUnit.Framework.Interfaces { [NullableContext(1)] public interface ITest : IXmlNodeBuilder { string Id { get; } string Name { get; } string TestType { get; } string FullName { get; } [Nullable(2)] string ClassName { [NullableContext(2)] get; } [Nullable(2)] string MethodName { [NullableContext(2)] get; } [Nullable(2)] ITypeInfo TypeInfo { [NullableContext(2)] get; } [Nullable(2)] IMethodInfo Method { [NullableContext(2)] get; } RunState RunState { get; } int TestCaseCount { get; } IPropertyBag Properties { get; } [Nullable(2)] ITest Parent { [NullableContext(2)] get; } bool IsSuite { get; } bool HasChildren { get; } IList<ITest> Tests { get; } [Nullable(2)] object Fixture { [NullableContext(2)] get; } [Nullable(new byte[] { 1, 2 })] object[] Arguments { [return: Nullable(new byte[] { 1, 2 })] get; } } }