Table of Contents

Class TestCollectionStarting

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

Default implementation of ITestCollectionStarting.

[JsonTypeID("test-collection-starting")]
public sealed class TestCollectionStarting : TestCollectionMessage, IJsonDeserializable, ITestCollectionStarting, ITestCollectionMessage, ITestAssemblyMessage, IMessageSinkMessage, IJsonSerializable, ITestCollectionMetadata
Inheritance
TestCollectionStarting
Implements
Inherited Members
Extension Methods
Xunit.Sdk.MessageSinkMessageExtensions.DispatchWhen``1(Xunit.Sdk.IMessageSinkMessage,Xunit.Runner.Common.MessageHandler{``0})

Properties

TestCollectionClassName

Gets the type that the test collection was defined with, if available; may be null if the test collection didn't have a definition type.

TestCollectionDisplayName

Gets the display name of the test collection.

Traits

Gets the trait values associated with this test collection (and the test assembly). If there are none, or the framework does not support traits, this returns an empty dictionary (not null).

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()