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

NUnit.Framework.DependsOnTestAttribute

Specifies that a test must run after another test.
public bool AllowFailure { get; set; }

Gets or sets a value indicating whether the dependent test is allowed to fail without affecting this test.

public string DependantTest { get; }

Gets the name of the test that must finish before this test starts.

public DependsOnTestAttribute(string testName)

Initializes a new instance of the DependsOnTestAttribute class.

public void ApplyToTest(Test test)

Applies dependency metadata to a test.