NUnit.Framework.CancelAfterAttribute
Applies a timeout in milliseconds to a test.
When applied to a method, the test's cancellation token is cancelled if the timeout is exceeded.
namespace NUnit.Framework
{
public class CancelAfterAttribute : PropertyAttribute, IApplyToContext
{
public CancelAfterAttribute(int timeout);
}
}