Table of Contents

Interface ITestMethodMetadata

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

Represents metadata about a test method.

public interface ITestMethodMetadata

Properties

MethodName

Gets the name of the test method that is associated with this message.

Traits

Gets the trait values associated with this test method (and the test class, 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 method.