Class TestAssemblyExecutionStarting
Reports that runner is about to start execution for a test assembly. This message will arrive before the test framework's ITestAssemblyStarting message, and contains the project metadata associated with the discovery.
public class TestAssemblyExecutionStarting : IMessageSinkMessage, IJsonSerializable
- Inheritance
-
TestAssemblyExecutionStarting
- 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
ExecutionOptions
Gets the options that will be used during execution.
public required ITestFrameworkExecutionOptions ExecutionOptions { get; set; }
Property Value
Seed
Gets the seed value used for randomization. If null, then the test framework does not
support setting a randomization seed. (For stock versions of xUnit.net, support for settable
randomization seeds started with v3.)
public required int? Seed { get; set; }
Property Value
- int?
Methods
ToJson()
Converts the given object to JSON.
public string? ToJson()
Returns
- string
Returns the object in JSON form, if possible; returns
nullif the object cannot be represented in JSON form.