StackTraceExtensions IsUnitTest Method Delta Engine Documentation

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

public static bool IsUnitTest()

Return Value

Type: Boolean
Remarks

Tests: DeltaEngine.Tests.Extensions.StackTraceExtensionsTests
Examples

1 unit tests call DeltaEngine.Extensions.StackTraceExtensions.IsUnitTest
[Test]
public void IsUnitTest()
{
    Assert.IsTrue(StackTraceExtensions.IsUnitTest());
}
See Also