<PackageReference Include="NUnit" Version="5.0.0-beta.1" />

NUnit.Framework.Internal.Commands.MaxTimeCommand

MaxTimeCommand adjusts the result of a successful test to a failure if the elapsed time has exceeded the specified maximum time allowed.
public MaxTimeCommand(TestCommand innerCommand, int maxTime)

Initializes a new instance of the MaxTimeCommand class.

public MaxTimeCommand(TestCommand innerCommand, int maxTime, int warningTime)

Initializes a new instance of the MaxTimeCommand class.