StackTraceExtensionsTests HasIgnoreAttribute Method Delta Engine Documentation

Namespace: DeltaEngine.Tests.Extensions
Assembly: DeltaEngine.Tests (in DeltaEngine.Tests.dll) Version: 1.1.1.0 (1.1.1)
Syntax

public void HasIgnoreAttribute()
Examples

[TestCase(Ignore = true), Ignore]
public void TestCaseHasIgnoreAttribute()
{
    Assert.IsTrue(IsTestCaseWithIgnore(new StackFrame()));
    Assert.IsFalse(IsTestCaseWithSlowCategory(new StackFrame()));
}
[Test, Ignore]
public void HasIgnoreAttribute()
{
    var stackFrame = new StackFrame();
    Assert.IsTrue(stackFrame.HasAttribute("NUnit.Framework.IgnoreAttribute"));
}
See Also