Table of Contents

Interface ITestAssemblyStarting

Namespace
Xunit.Sdk

This message indicates that the execution process is about to start for the requested assembly.

public interface ITestAssemblyStarting : ITestAssemblyMessage, IMessageSinkMessage, IJsonSerializable, IAssemblyMetadata
Inherited Members
Extension Methods

Properties

Seed

Gets the seed value used for randomization. If null, then the test framework does not support getting or setting a randomization seed. (For stock versions of xUnit.net, support for settable randomization seeds started with v3.)

int? Seed { get; }

Property Value

int?

StartTime

Gets the date and time when the test assembly execution began.

DateTimeOffset StartTime { get; }

Property Value

DateTimeOffset

TargetFramework

Gets the target framework that the assembly was compiled against. Examples: ".NETFramework,Version=v4.7.2", ".NETCoreApp,Version=v6.0". This information is read from TargetFrameworkAttribute on the test assembly, which is normally auto-generated (but could be missing or empty).

string? TargetFramework { get; }

Property Value

string

TestEnvironment

Gets a display string that describes the test execution environment. Examples: "32-bit .NET Framework 4.8.4220.0", "64-bit .NET Core 4.6.29220.03"

string TestEnvironment { get; }

Property Value

string

TestFrameworkDisplayName

Gets a display string which describes the test framework and version number. Examples: "xUnit.net v3 0.1.0-pre.15", "xUnit.net 2.4.1"

string TestFrameworkDisplayName { get; }

Property Value

string