Table of Contents

Class DiscoveryComplete

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

Default implementation of IDiscoveryComplete.

[JsonTypeID("discovery-complete")]
public sealed class DiscoveryComplete : TestAssemblyMessage, IJsonDeserializable, IDiscoveryComplete, ITestAssemblyMessage, IMessageSinkMessage, IJsonSerializable
Inheritance
DiscoveryComplete
Implements
Inherited Members
Extension Methods

Properties

TestCasesToRun

Gets a count of the number of test cases that passed the filter and will be run.

public required int TestCasesToRun { get; set; }

Property Value

int

Remarks

Note: Will be 0 if there was no value provided during deserialization.

Methods

Deserialize(IReadOnlyDictionary<string, object?>)

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

protected override void Deserialize(IReadOnlyDictionary<string, object?> root)

Parameters

root IReadOnlyDictionary<string, object>

The root of the JSON object

Serialize(JsonObjectSerializer)

Override to serialize the values in the message into JSON.

protected override void Serialize(JsonObjectSerializer serializer)

Parameters

serializer JsonObjectSerializer

The serializer to write values to.

ToString()

public override string ToString()

Returns

string