Class TestAssemblyDiscoveryStarting
Reports that runner is about to start discovery for a test assembly. This message will arrive before the test framework's Xunit.DiscoveryStarting message, and contains the project metadata associated with the discovery.
public class TestAssemblyDiscoveryStarting : IMessageSinkMessage, IJsonSerializable
- Inheritance
-
TestAssemblyDiscoveryStarting
- Implements
- Inherited Members
- Extension Methods
Remarks
This message does not support serialization or deserialization.
Properties
AppDomain
Gets a flag which indicates whether the tests will be discovered and run in a separate app domain.
public required AppDomainOption AppDomain { get; set; }
Property Value
Assembly
Gets information about the assembly being discovered.
public required XunitProjectAssembly Assembly { get; set; }
Property Value
DiscoveryOptions
Gets the options that will be used during discovery.
public required ITestFrameworkDiscoveryOptions DiscoveryOptions { get; set; }
Property Value
ShadowCopy
Gets a flag which indicates whether shadow copies are being used. If app domains are not enabled, then this value is ignored.
public required bool ShadowCopy { get; set; }
Property Value
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.