Class TestExecutionSummaries
Reports multi-assembly test execution summary information.
public class TestExecutionSummaries : IMessageSinkMessage, IJsonSerializable
- Inheritance
-
TestExecutionSummaries
- Implements
- Inherited Members
- Extension Methods
Remarks
This message does not support serialization or deserialization.
Properties
ElapsedClockTime
Gets the clock time elapsed when running the tests. This may different significantly from the sum of the times reported in the summaries, if the runner chose to run the test assemblies in parallel.
public TimeSpan ElapsedClockTime { get; set; }
Property Value
SummariesByAssemblyUniqueID
Gets the summaries of all the tests run. The key is the unique ID of the test assembly; the value is the summary of test execution for that assembly.
public List<(string AssemblyUniqueID, ExecutionSummary Summary)> SummariesByAssemblyUniqueID { get; }
Property Value
Methods
Add(string, ExecutionSummary)
Add assembly summary information.
public void Add(string assemblyUniqueID, ExecutionSummary summary)
Parameters
assemblyUniqueIDstringThe unique ID of the assembly
summaryExecutionSummaryThe execution summary
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.