Table of Contents

Class TestExecutionSummaries

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

Reports multi-assembly test execution summary information.

public class TestExecutionSummaries : IMessageSinkMessage, IJsonSerializable
Inheritance
TestExecutionSummaries
Implements
Inherited Members
Extension Methods
Xunit.Sdk.MessageSinkMessageExtensions.DispatchWhen``1(Xunit.Sdk.IMessageSinkMessage,Xunit.Runner.Common.MessageHandler{``0})

Remarks

This message does not support serialization or deserialization.

Properties

ElapsedClockTime

Gets the clock time elapsed when running the tests. This may different significantly from the sum of the times reported in the summaries, if the runner chose to run the test assemblies in parallel.

SummariesByAssemblyUniqueID

Gets the summaries of all the tests run. The key is the unique ID of the test assembly; the value is the summary of test execution for that assembly.

Methods

Add(string, ExecutionSummary)

Add assembly summary information.

ToJson()

Converts the given object to JSON.