Table of Contents

Interface IXunitTest

Namespace
Xunit.v3
Assembly
xunit.v3.core.dll

Represents a test from xUnit.net v3 based on reflection.

public interface IXunitTest : ITest, ITestMetadata
Inherited Members

Properties

Explicit

Gets a flag indicating whether this test was marked as explicit or not.

SkipReason

Gets a skip reason for this test.

SkipType

When set, indicates the type to use when resolving SkipUnless or SkipWhen. If not set, uses the test class type.

SkipUnless

When set, indicates a public static property that is used at runtime to determine whether the test is skipped or not (true to run, false to skip).

SkipWhen

When set, indicates a public static property that is used at runtime to determine whether the test is skipped or not (false to run, true to skip).

TestCase

Gets the test case this test belongs to.

TestMethod

Gets the test method to run. May different from the test method embedded in the test case.

TestMethodArguments

Gets the arguments to be passed to the test method during invocation.

Timeout

Gets the timeout for the test, in milliseconds; if 0, there is no timeout.