Table of Contents

Class TestCaseFinished

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

Default implementation of ITestCaseFinished.

[JsonTypeID("test-case-finished")]
public sealed class TestCaseFinished : TestCaseMessage, IJsonDeserializable, ITestCaseFinished, ITestCaseMessage, ITestMethodMessage, ITestClassMessage, ITestCollectionMessage, ITestAssemblyMessage, IMessageSinkMessage, IJsonSerializable, IExecutionSummaryMetadata
Inheritance
TestCaseFinished
Implements
Inherited Members
Extension Methods
Xunit.Sdk.MessageSinkMessageExtensions.DispatchWhen``1(Xunit.Sdk.IMessageSinkMessage,Xunit.Runner.Common.MessageHandler{``0})

Properties

ExecutionTime

Gets the execution time (in seconds) for this execution.

TestsFailed

Gets the number of failing tests.

TestsNotRun

Gets the number of tests that were not run. This includes explicit tests when explicit tests are not run, or non-expicit tests when non-explicit tests are not run.

TestsSkipped

Gets the number of skipped tests.

TestsTotal

Gets the total number of tests run and not run.

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