Table of Contents

Class TestAssemblyExecutionFinished

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

Reports that runner is about to start execution for a test assembly. This message will arrive after the test framework's ITestAssemblyFinished message, and contains the project metadata associated with the execution.

public class TestAssemblyExecutionFinished : IMessageSinkMessage, IJsonSerializable
Inheritance
TestAssemblyExecutionFinished
Implements
Inherited Members
Extension Methods

Remarks

This message does not support serialization or deserialization.

Properties

Assembly

Gets information about the assembly being executed.

public required XunitProjectAssembly Assembly { get; set; }

Property Value

XunitProjectAssembly

ExecutionOptions

Gets the options that was used during execution.

public required ITestFrameworkExecutionOptions ExecutionOptions { get; set; }

Property Value

ITestFrameworkExecutionOptions

ExecutionSummary

Gets the summary of the execution results for the test assembly.

public required ExecutionSummary ExecutionSummary { get; set; }

Property Value

ExecutionSummary

Methods

ToJson()

Converts the given object to JSON.

public string? ToJson()

Returns

string

Returns the object in JSON form, if possible; returns null if the object cannot be represented in JSON form.