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

NUnit.Framework.Internal.Extensions.TestExtensions

static class TestExtensions
public static T GetEffectiveProperty<T>(this ITest test, string propertyName, T defaultValue)

Retrieves the effective value of a specified property from the test hierarchy, returning a default value if the property is not found or its value is null.

public static bool HasLifeCycle(this ITest test, LifeCycle lifeCycle)

public static IEnumerable<PropertyValueHierarchyItem> PropertyValues(this ITest test, string property)

Returns all property values in the hierarchy of a given name The returned values include the name of the level they are found at.