Class TestOutput
- Namespace
- Xunit.v3
- Assembly
- xunit.v3.core.dll
Default implementation of ITestOutput.
[JsonTypeID("test-output")]
public sealed class TestOutput : TestMessage, ITestOutput, ITestMessage, ITestCaseMessage, ITestMethodMessage, ITestClassMessage, ITestCollectionMessage, ITestAssemblyMessage, IMessageSinkMessage, IJsonSerializable
- Inheritance
-
TestOutput
- Implements
- Inherited Members
Properties
- Output
Gets the line of output.
Methods
- Serialize(JsonObjectSerializer)
Override to serialize the values in the message into JSON.
- ValidateObjectState(HashSet<string>)
Called before serializing the message. Implementers are expected to call ValidatePropertyIsNotNull(object?, string, HashSet<string>) for each property that must have a value, to record invalid property values into the provided hash set.