Class TestAssemblyDiscoveryFinished
Reports that runner has just finished discovery for a test assembly. This message will arrive after the test framework's IDiscoveryComplete message, and contains the project metadata associated with the discovery.
public class TestAssemblyDiscoveryFinished : IMessageSinkMessage, IJsonSerializable
- Inheritance
-
TestAssemblyDiscoveryFinished
- Implements
- Inherited Members
- Extension Methods
Remarks
This message does not support serialization or deserialization.
Properties
Assembly
Gets information about the assembly being discovered.
public required XunitProjectAssembly Assembly { get; set; }
Property Value
DiscoveryOptions
Gets the options that were used during discovery.
public required ITestFrameworkDiscoveryOptions DiscoveryOptions { get; set; }
Property Value
TestCasesToRun
Gets the count of the number of test cases that will be run (post-filtering).
public int TestCasesToRun { 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.