TestResult Class

Definition

TestResult object to be returned to adapter.

public class TestResult
type TestResult = class
Public Class TestResult
Inheritance
TestResult

Constructors

TestResult()

Initializes a new instance of the TestResult class.

Properties

DatarowIndex

Gets or sets the data row index in data source. Set only for results of individual run of data row of a data driven test.

DebugTrace

Gets or sets the debug traces by test code.

DisplayName

Gets or sets the display name of the result. Useful when returning multiple results. If null then Method name is used as DisplayName.

Duration

Gets or sets the duration of test execution.

ExecutionId

Gets or sets the execution id of the result.

InnerResultsCount

Gets or sets the inner results count of the result.

LogError

Gets or sets the output of the message logged by test code.

LogOutput

Gets or sets the output of the message logged by test code.

Outcome

Gets or sets the outcome of the test execution.

ParentExecId

Gets or sets the parent execution id of the result.

ResultFiles

Gets or sets the result files attached by the test.

ReturnValue

Gets or sets the return value of the test method. (Currently null always).

TestContextMessages

Gets or sets the debug traces by test code.

TestFailureException

Gets or sets the exception thrown when test is failed.

Applies to