Class UnitTestResult
- Namespace
- Invex.Atom.Module.Dotnet.Model
- Assembly
- Invex.Atom.Module.Dotnet.dll
Represents the result of a single unit test.
[DynamicallyAccessedMembers((DynamicallyAccessedMemberTypes)-1)]
public sealed record UnitTestResult
- Inheritance
-
objectUnitTestResult
Constructors
UnitTestResult()
public UnitTestResult()
Properties
ComputerName
Gets the name of the computer where the test was run.
public string ComputerName { get; init; }
Property Value
- string
Duration
Gets the duration of the test execution.
public string Duration { get; init; }
Property Value
- string
EndTime
Gets the end time of the test execution.
public DateTime EndTime { get; init; }
Property Value
- DateTime
ExecutionId
Gets the execution ID of the unit test.
public string ExecutionId { get; init; }
Property Value
- string
Outcome
Gets the outcome of the test (e.g., "Passed", "Failed", "NotExecuted").
public string Outcome { get; init; }
Property Value
- string
Output
Gets the output generated by the test.
public ResultOutput Output { get; init; }
Property Value
RelativeResultsDirectory
Gets the relative directory for the test results.
public string RelativeResultsDirectory { get; init; }
Property Value
- string
StartTime
Gets the start time of the test execution.
public DateTime StartTime { get; init; }
Property Value
- DateTime
TestId
Gets the ID of the test definition.
public string TestId { get; init; }
Property Value
- string
TestListId
Gets the ID of the test list to which this test belongs.
public string TestListId { get; init; }
Property Value
- string
TestName
Gets the name of the test.
public string TestName { get; init; }
Property Value
- string
TestType
Gets the type of the test.
public string TestType { get; init; }
Property Value
- string