Table of Contents

Interface ITestClassMessage

Namespace
Xunit.Sdk

Base interface for all messages related to test classes.

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

Properties

TestClassUniqueID

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

string? TestClassUniqueID { get; }

Property Value

string