Table of Contents

Class TestMethodMessage

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

Default implementation of ITestMethodMessage.

public abstract class TestMethodMessage : TestClassMessage, ITestMethodMessage, ITestClassMessage, ITestCollectionMessage, ITestAssemblyMessage, IMessageSinkMessage, IJsonSerializable
Inheritance
TestMethodMessage
Implements
Derived
Inherited Members
MessageSinkMessage.ToDisplayString<T>(T[])

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.

Methods

Serialize(JsonObjectSerializer)

Override to serialize the values in the message into JSON.

ToString()