Table of Contents

Class BeforeTestStarting

Namespace
Xunit.Runner.Common
Assembly
xunit.v3.runner.common.dll

Default implementation of IBeforeTestStarting.

[JsonTypeID("before-test-starting")]
public sealed class BeforeTestStarting : TestMessage, IJsonDeserializable, IBeforeTestStarting, ITestMessage, ITestCaseMessage, ITestMethodMessage, ITestClassMessage, ITestCollectionMessage, ITestAssemblyMessage, IMessageSinkMessage, IJsonSerializable
Inheritance
BeforeTestStarting
Implements
Inherited Members
Extension Methods
Xunit.Sdk.MessageSinkMessageExtensions.DispatchWhen``1(Xunit.Sdk.IMessageSinkMessage,Xunit.Runner.Common.MessageHandler{``0})

Properties

AttributeName

Gets the fully qualified type name of the IBeforeAfterTestAttribute.

Methods

Deserialize(IReadOnlyDictionary<string, object?>)

Override to deserialize the values in the dictionary into the message.

Serialize(JsonObjectSerializer)

Override to serialize the values in the message into JSON.

ToString()