Class TestClassMessage
Default implementation of ITestClassMessage.
public abstract class TestClassMessage : TestCollectionMessage, ITestClassMessage, ITestCollectionMessage, ITestAssemblyMessage, IMessageSinkMessage, IJsonSerializable
- Inheritance
-
TestClassMessage
- Implements
- Derived
- Inherited Members
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.
public required string? TestClassUniqueID { get; set; }
Property Value
Methods
Serialize(JsonObjectSerializer)
Override to serialize the values in the message into JSON.
protected override void Serialize(JsonObjectSerializer serializer)
Parameters
serializerJsonObjectSerializerThe serializer to write values to.
ToString()
public override string ToString()