Table of Contents

Interface ITestMethodMessage

Namespace
Xunit.Sdk

Base interface for all messages related to test methods.

public interface ITestMethodMessage : ITestClassMessage, ITestCollectionMessage, ITestAssemblyMessage, IMessageSinkMessage, IJsonSerializable
Inherited Members
Extension Methods

Properties

TestMethodUniqueID

Gets the test method's unique ID. Can be used to correlate test messages with the appropriate test method that they're related to. Will be null if the test did not originate from a method.

string? TestMethodUniqueID { get; }

Property Value

string