Table of Contents

Class TestRun

Namespace
Invex.Atom.Module.Dotnet.Model
Assembly
Invex.Atom.Module.Dotnet.dll

Represents the root element of a TRX (Test Results XML) file.

[DynamicallyAccessedMembers((DynamicallyAccessedMemberTypes)-1)]
public sealed record TestRun
Inheritance
object
TestRun

Remarks

This model is used for deserializing TRX files generated by dotnet test to extract test results and summary information.

Constructors

TestRun()

public TestRun()

Properties

Id

Gets the unique identifier for the test run.

public string Id { get; init; }

Property Value

string

Name

Gets the name of the test run.

public string Name { get; init; }

Property Value

string

ResultSummary

Gets the summary of the test run results.

public ResultSummary ResultSummary { get; init; }

Property Value

ResultSummary

Results

Gets a list of individual unit test results.

public List<UnitTestResult> Results { get; init; }

Property Value

List<UnitTestResult>

RunUser

Gets the user who initiated the test run.

public string RunUser { get; init; }

Property Value

string

TestDefinitions

Gets a list of unit test definitions.

public List<UnitTest> TestDefinitions { get; init; }

Property Value

List<UnitTest>

TestEntries

Gets a list of test entries.

public List<TestEntry> TestEntries { get; init; }

Property Value

List<TestEntry>

TestLists

Gets a list of test lists.

public List<TestList> TestLists { get; init; }

Property Value

List<TestList>

TestSettings

Gets the settings used for the test run.

public TestSettings TestSettings { get; init; }

Property Value

TestSettings

Times

Gets the time-related information for the test run.

public Times Times { get; init; }

Property Value

Times