Table of Contents

Interface ITestClassMetadata

Namespace
Xunit.Sdk
Assembly
xunit.v3.common.dll

Represents metadata about a test class.

public interface ITestClassMetadata

Properties

TestClassName

Gets the full name of the test class (i.e., FullName).

TestClassNamespace

Gets the namespace of the class where the test is defined. Will return null for classes not residing in a namespace.

TestClassSimpleName

Gets the simple name of the test class (the class name without namespace).

Traits

Gets the trait values associated with this test class (and the test collection, and test assembly). If there are none, or the framework does not support traits, this returns an empty dictionary (not null).

UniqueID

Gets the unique ID for this test class.